drm/i915/gt: Set BLIT_CCTL reg to un-cached
authorAyaz A Siddiqui <ayaz.siddiqui@intel.com>
Fri, 3 Sep 2021 09:21:51 +0000 (14:51 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Fri, 3 Sep 2021 14:47:22 +0000 (20:17 +0530)
commitc6b248489dc3f780ee91e187a1431825d6f298fd
tree47ded50791ec6330bf18fa70de61ac49b8b4584e
parentd79a1d71318014066b6e1c78e5457a105d67f2ea
drm/i915/gt: Set BLIT_CCTL reg to un-cached

Blitter commands which do not have MOCS fields rely on
cacheability of BlitterCacheControlRegister which was mapped
to index 0 by default.Once we changed the MOCS value of
index 0 to L3 WB, tests like gem_linear_blits started failing
due to a change in cacheability from UC to WB.

Program and place the BlitterCacheControlRegister in
build_aux_regs().

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ayaz A Siddiqui <ayaz.siddiqui@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210903092153.535736-4-ayaz.siddiqui@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/i915_reg.h