]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm/dpu: correct dpu_crtc_check_mode_changed docs
authorDmitry Baryshkov <lumag@kernel.org>
Thu, 6 Mar 2025 08:22:29 +0000 (10:22 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 8 Mar 2025 00:12:29 +0000 (02:12 +0200)
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 <lumag@kernel.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
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 <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c

index b0a062d6fa3bf942ffd687a91bccac3aa4f06f02..536d15818ba24f8b11f24e3bd9726d31c57ef531 100644 (file)
@@ -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.
  */