Skip to content

Commit

Permalink
drm/msm/dpu: correct dpu_crtc_check_mode_changed docs
Browse files Browse the repository at this point in the history
Correct commit 2097260 ("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: 2097260 ("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>
  • Loading branch information
Dmitry Baryshkov authored and Dmitry Baryshkov committed Mar 8, 2025
1 parent 2060a2d commit 096775c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 096775c

Please sign in to comment.