diff options
author | Chris Wilson <[email protected]> | 2020-09-15 10:14:16 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-09-15 11:34:05 +0100 |
commit | 121ba69ffddc60df11da56f6d5b29bdb45c8eb80 (patch) | |
tree | a4c7b803c965a8ce49570d21b4893475afad8261 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 060bb115c2d664f04db9c7613a104dfaef3fdd98 (diff) |
drm/i915/gem: Prevent using pgprot_writecombine() if PAT is not supported
Let's not try and use PAT attributes for I915_MAP_WC if the CPU doesn't
support PAT.
Fixes: 6056e50033d9 ("drm/i915/gem: Support discontiguous lmem object maps")
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Cc: <[email protected]> # v5.6+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions