[PATCH 1/4] drm/i915/gt: Do ggtt inval in gen8_ggtt_clear_range
Nirmoy Das
nirmoy.das at intel.com
Tue Aug 29 13:26:17 UTC 2023
Add missing ggtt invalidation in gen8_ggtt_clear_range().
Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
---
drivers/gpu/drm/i915/gt/intel_ggtt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c b/drivers/gpu/drm/i915/gt/intel_ggtt.c
index dd0ed941441a..ef4b7171286f 100644
--- a/drivers/gpu/drm/i915/gt/intel_ggtt.c
+++ b/drivers/gpu/drm/i915/gt/intel_ggtt.c
@@ -330,6 +330,8 @@ static void gen8_ggtt_clear_range(struct i915_address_space *vm,
for (i = 0; i < num_entries; i++)
gen8_set_pte(>t_base[i], scratch_pte);
+
+ ggtt->invalidate(ggtt);
}
static void gen6_ggtt_insert_page(struct i915_address_space *vm,
--
2.41.0
More information about the Intel-gfx-trybot
mailing list