OSDN Git Service

drm/i915/bxt: map GTT as uncached
authorImre Deak <imre.deak@intel.com>
Fri, 27 Mar 2015 11:07:33 +0000 (13:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Apr 2015 13:57:50 +0000 (15:57 +0200)
commit2a073f89435771409a21930b78f182d8cb5c5941
tree4c270b70bd45586d7cf94a21441e3326757e26b0
parent8232edb5f74af0f4664362fefab165e891a7fa68
drm/i915/bxt: map GTT as uncached

On Broxton per specification the GTT has to be mapped as uncached.
This was caught by the PTE write readback warning, which showed a
corrupted PTE value with using the current write-combine mapping.

v2:
- add comment explaining how the problem with WC mapping manifests
  (Daniel)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Antti Koskipää <antti.koskipaa@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c