diff mbox series

[10/10] fixup! drm/xe/display: Add intel_plane_initial_vblank_wait

Message ID 20241106143837.195642-10-maarten.lankhorst@linux.intel.com (mailing list archive)
State New
Headers show
Series [01/10] drm/xe: Remove double pageflip | expand

Commit Message

Maarten Lankhorst Nov. 6, 2024, 2:38 p.m. UTC
From: Maarten Lankhorst <dev@lankhorst.se>

---
 drivers/gpu/drm/i915/display/intel_plane_initial.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_plane_initial.c b/drivers/gpu/drm/i915/display/intel_plane_initial.c
index f0f4ec2b6cc98..77eb2b763be5e 100644
--- a/drivers/gpu/drm/i915/display/intel_plane_initial.c
+++ b/drivers/gpu/drm/i915/display/intel_plane_initial.c
@@ -14,9 +14,9 @@ 
 #include "intel_frontbuffer.h"
 #include "intel_plane_initial.h"
 
-void intel_plane_initial_vblank_wait(plane);(struct intel_plane *plane)
+void intel_plane_initial_vblank_wait(struct intel_plane *plane)
 {
-	struct intel_crtc *crtc = intel_crtc_for_pipe(to_intel_display(plane), plane->pipe);
+	struct intel_crtc *crtc = intel_crtc_for_pipe(to_intel_display(plane->base.dev), plane->pipe);
 
 	intel_crtc_wait_for_next_vblank(crtc);
 }
@@ -445,7 +445,7 @@  void intel_initial_plane_config(struct drm_i915_private *i915)
 		intel_find_initial_plane_obj(crtc, plane_configs);
 
 		if (i915->display.funcs.display->fixup_initial_plane_config(crtc, plane_config))
-			intel_initial_vblank_wait(crtc);
+			intel_plane_initial_vblank_wait(to_intel_plane(crtc->base.primary));
 
 		plane_config_fini(plane_config);
 	}