From 43c87456cd8db981dcdf1c68d049aca4276c4552 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 30 Nov 2022 19:02:42 +0100 Subject: [PATCH] fix queue-5.15/drm-i915-fix-tlb-invalidation-for-gen12-video-and-compute-engines.patch --- ...nvalidation-for-gen12-video-and-compute-engines.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/queue-5.15/drm-i915-fix-tlb-invalidation-for-gen12-video-and-compute-engines.patch b/queue-5.15/drm-i915-fix-tlb-invalidation-for-gen12-video-and-compute-engines.patch index ccf85466dd1..727ad2e0310 100644 --- a/queue-5.15/drm-i915-fix-tlb-invalidation-for-gen12-video-and-compute-engines.patch +++ b/queue-5.15/drm-i915-fix-tlb-invalidation-for-gen12-video-and-compute-engines.patch @@ -20,18 +20,17 @@ Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- - drivers/gpu/drm/i915/gt/intel_gt.c | 5 +++++ - 1 file changed, 5 insertions(+) + drivers/gpu/drm/i915/gt/intel_gt.c | 4 ++++ + 1 file changed, 4 insertions(+) --- a/drivers/gpu/drm/i915/gt/intel_gt.c +++ b/drivers/gpu/drm/i915/gt/intel_gt.c -@@ -982,6 +982,11 @@ void intel_gt_invalidate_tlbs(struct int +@@ -982,6 +982,10 @@ void intel_gt_invalidate_tlbs(struct int if (!i915_mmio_reg_offset(rb.reg)) continue; + if (GRAPHICS_VER(i915) == 12 && (engine->class == VIDEO_DECODE_CLASS || -+ engine->class == VIDEO_ENHANCEMENT_CLASS || -+ engine->class == COMPUTE_CLASS)) ++ engine->class == VIDEO_ENHANCEMENT_CLASS)) + rb.bit = _MASKED_BIT_ENABLE(rb.bit); + intel_uncore_write_fw(uncore, rb.reg, rb.bit); -- 2.47.3