diff options
author | 2020-09-15 10:14:16 +0100 | |
---|---|---|
committer | 2020-09-30 14:24:20 -0400 | |
commit | ba2ebf605d5f32a9be0f7b05d3174bbc501b83fe (patch) | |
tree | b98432d7c7875954ecfe05dad6bff70ba9510cee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gem: Avoid implicit vmap for highmem on x86-32 (diff) | |
download | wireguard-linux-ba2ebf605d5f32a9be0f7b05d3174bbc501b83fe.tar.xz wireguard-linux-ba2ebf605d5f32a9be0f7b05d3174bbc501b83fe.zip |
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 <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Cc: <stable@vger.kernel.org> # v5.6+
Link: https://patchwork.freedesktop.org/patch/msgid/20200915091417.4086-2-chris@chris-wilson.co.uk
(cherry picked from commit 121ba69ffddc60df11da56f6d5b29bdb45c8eb80)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions