]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Fixup tgl mocs for PTE tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Oct 2020 12:21:38 +0000 (13:21 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 19 Nov 2020 20:10:49 +0000 (15:10 -0500)
commit8cae13e67f77fe02998763f2643f9a54785c26bb
treeb573c4ab8d0b5245372784e0cd8efb826d0add8a
parentcf038a999e7df8a1aefbeae65672802e9bb4ef22
drm/i915/gt: Fixup tgl mocs for PTE tracking

Forcing mocs:1 [used for our winsys follows-pte mode] to be cached
caused display glitches. Though it is documented as deprecated (and so
likely behaves as uncached) use the follow-pte bit and force it out of
L3 cache.

Testcase: igt/kms_frontbuffer_tracking
Testcase: igt/kms_big_fb
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201015122138.30161-4-chris@chris-wilson.co.uk
(cherry picked from commit a04ac827366594c7244f60e9be79fcb404af69f0)
Fixes: 25910f67ba7c ("drm/i915/gt: Initialize reserved and unspecified MOCS indices")
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[Rodrigo: Updated Fixes tag]
drivers/gpu/drm/i915/gt/intel_mocs.c