]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen12: Add aux table invalidate for all engines
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 7 May 2020 14:20:45 +0000 (17:20 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 May 2020 19:18:28 +0000 (20:18 +0100)
commit1357c8300f1bc0b1175ac1f3b5a834a9590ced91
treeeb0b10d72f9e7568d255f7e71a98a638a8194df5
parent6b071769478bdd779819163ba1ff629ca0521044
drm/i915/gen12: Add aux table invalidate for all engines

All engines, exception being blitter as it does not
care about the form, can access compressed surfaces.

So we need to add forced aux table invalidates
for those engines.

v2: virtual instance masking (Chris)
v3: bug on if not found (Chris)

References: 242722ba082f ("drm/i915/gen12: Invalidate aux table entries forcibly")
References bspec#43904, hsdes#1809175790
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chuansheng Liu <chuansheng.liu@intel.com>
Cc: Rafael Antognolli <rafael.antognolli@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200507142045.8668-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/i915_reg.h