]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/gen12: Invalidate aux table entries forcibly
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 6 May 2020 16:53:10 +0000 (19:53 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 7 May 2020 06:44:42 +0000 (07:44 +0100)
commitd248b371f7479a99caccf91da2ec6adee85e5e70
tree548db35f66119ab31a81c9646a02852171478047
parent0c7c0c8e6f09e0301e02266a0c83611d721adebb
drm/i915/gen12: Invalidate aux table entries forcibly

Aux table invalidation can fail on update. So
next access may cause memory access to be into stale entry.

Proposed workaround is to invalidate entries between
all batchbuffers.

v2: correct register address (Yang)
v3: respect the order (Chris)

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>
Cc: Yang A Shi <yang.a.shi@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/20200506165310.1239-1-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/i915_reg.h