[Intel-xe] [PATCH v2 3/3] maybe xe is broken enough that it gives you a new vma every time?

Ville Syrjala ville.syrjala at linux.intel.com
Wed Sep 20 17:27:51 UTC 2023


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

v2: drop the warn to let testing proceed w/o taint
---
 drivers/gpu/drm/i915/display/intel_cursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c
index afe1d0fa0537..ea464bc99a7b 100644
--- a/drivers/gpu/drm/i915/display/intel_cursor.c
+++ b/drivers/gpu/drm/i915/display/intel_cursor.c
@@ -752,7 +752,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane,
 
 	local_irq_enable();
 
-	if (old_plane_state->hw.fb != new_plane_state->hw.fb) {
+	if (old_plane_state->ggtt_vma != new_plane_state->ggtt_vma) {
 		drm_vblank_work_init(&old_plane_state->unpin_work, &crtc->base,
 				     intel_cursor_unpin_work);
 
-- 
2.41.0



More information about the Intel-xe mailing list