From 096775c3dcf3051414f0965e9ab34572f1fc2aef Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Thu, 6 Mar 2025 10:22:29 +0200 Subject: [PATCH] drm/msm/dpu: correct dpu_crtc_check_mode_changed docs Correct commit 20972609d12c ("drm/msm/dpu: Require modeset if clone mode status changes") and describe old_crtc_state and new_crtc_state params instead of the single previously used parameter crtc_state. Fixes: 20972609d12c ("drm/msm/dpu: Require modeset if clone mode status changes") Signed-off-by: Dmitry Baryshkov Reviewed-by: Rob Clark Patchwork: https://patchwork.freedesktop.org/patch/641313/ Link: https://lore.kernel.org/r/20250306-dpu-fix-docs-v1-1-e51b71e8ad84@kernel.org Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index b0a062d6fa3b..536d15818ba2 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c @@ -1395,7 +1395,8 @@ static int dpu_crtc_assign_resources(struct drm_crtc *crtc, /** * dpu_crtc_check_mode_changed: check if full modeset is required - * @crtc_state: Corresponding CRTC state to be checked + * @old_crtc_state: Previous CRTC state + * @new_crtc_state: Corresponding CRTC state to be checked * * Check if the changes in the object properties demand full mode set. */ -- 2.50.1