From: Dmitry Baryshkov Date: Thu, 6 Mar 2025 08:22:29 +0000 (+0200) Subject: drm/msm/dpu: correct dpu_crtc_check_mode_changed docs X-Git-Tag: v6.15-rc1~120^2~11^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=096775c3dcf3051414f0965e9ab34572f1fc2aef;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index b0a062d6fa3bf..536d15818ba24 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. */