Commit 096775c3 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

drm/msm/dpu: correct dpu_crtc_check_mode_changed docs



Correct commit 20972609 ("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: 20972609 ("drm/msm/dpu: Require modeset if clone mode status changes")
Signed-off-by: default avatarDmitry Baryshkov <lumag@kernel.org>
Reviewed-by: default avatarRob 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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 2060a2db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.
 */