]> 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)
commit972282c4cf2454af7dca3fec16b8f2cc72d4238c
treeeb0b10d72f9e7568d255f7e71a98a638a8194df5
parenteec39e441c29dd636bbdf5390af765cd9db6b380
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: d248b371f747 ("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