summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <lumag@kernel.org>2025-03-06 10:22:29 +0200
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2025-03-08 02:12:29 +0200
commit096775c3dcf3051414f0965e9ab34572f1fc2aef (patch)
tree4d188f31542a0df96452e1567ea8f0837b03404b
parent2060a2db1253b6f841fe91a0c49cb7765197f3c6 (diff)
downloadlinux-stable-096775c3dcf3051414f0965e9ab34572f1fc2aef.tar.gz
linux-stable-096775c3dcf3051414f0965e9ab34572f1fc2aef.tar.bz2
linux-stable-096775c3dcf3051414f0965e9ab34572f1fc2aef.zip
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 <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>
-rw-r--r--drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c3
1 files changed, 2 insertions, 1 deletions
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.
*/