drm/msm/dpu: two fixes for kerneldocs
Dmitry Baryshkov
maintainercover drm/msm/dpu: two fixes for kerneldocs
---
Dmitry Baryshkov (2):
drm/msm/dpu: correct dpu_crtc_check_mode_changed docs drm/msm/dpu: correct struct dpu_encoder_virt docs
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 3 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
---
base-commit: 6d3175a72cc07e90f81fb35841048a8a9b5134cb
change-id: 20250306-dpu-fix-docs-3700642b33ea
Best regards,
Signature · 1 line
Dmitry Baryshkov <[email protected]>
Dmitry Baryshkov
maintainerPATCH 1/2 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.
--- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +2 -1
@@ -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. */
Signature · 1 line
2.39.5
Dmitry Baryshkov
maintainerPATCH 2/2 drm/msm/dpu: correct struct dpu_encoder_virt docs
In reply to Dmitry BaryshkovFix a typo in struct dpu_encoder_virt kerneldoc, which made it ignore description of the cwb_mask field.
--- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +1 -1
@@ -140,7 +140,7 @@ enum dpu_enc_rc_states {* num_phys_encs. * @hw_dsc: Handle to the DSC blocks used for the display. * @dsc_mask: Bitmask of used DSC blocks. -* @cwb_mask Bitmask of used CWB muxes +* @cwb_mask: Bitmask of used CWB muxes * @intfs_swapped: Whether or not the phys_enc interfaces have been swapped * for partial update right-only cases, such as pingpong * split where virtual pingpong does not generate IRQs
Signature · 1 line
2.39.5
Re: [PATCH 1/2] drm/msm/dpu: correct dpu_crtc_check_mode_changed docs
In reply to Dmitry BaryshkovQuoted 7 lines · Dmitry Baryshkov
Correct commit
20972609d12c("drm/msm/dpu: Require modeset if clone mode status changes") and describeold_crtc_stateandnew_crtc_stateparams instead of the single previously used parametercrtc_state.Fixes 20972609d12c ("drm/msm/dpu: Require modeset if clone mode status changes")Signed-off-by Dmitry Baryshkov <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +2
-2@@ -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. */ --2.39.5
Re: [PATCH 2/2] drm/msm/dpu: correct struct dpu_encoder_virt docs
In reply to Dmitry BaryshkovQuoted 6 lines · Dmitry Baryshkov
Fix a typo in struct
dpu_encoder_virtkerneldoc, which made it ignore description of thecwb_maskfield.Fixes dd331404ac7c ("drm/msm/dpu: Configure CWB in writeback encoder")Signed-off-by Dmitry Baryshkov <[email protected]>
Quoted 21 lines
--- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +1
-2@@ -140,7 +140,7 @@ enum dpu_enc_rc_states {* num_phys_encs. * @hw_dsc: Handle to the DSC blocks used for the display. * @dsc_mask: Bitmask of used DSC blocks. -* @cwb_mask Bitmask of used CWB muxes +* @cwb_mask: Bitmask of used CWB muxes * @intfs_swapped: Whether or not the phys_enc interfaces have been swapped * for partial update right-only cases, such as pingpong * split where virtual pingpong does not generate IRQs -- 2.39.5
From: Dmitry Baryshkov <[email protected]>
Quoted 1 line · Dmitry Baryshkov
Applied, thanks!
[1/2] drm/msm/dpu: correct dpu_crtc_check_mode_changed docs
https://gitlab.freedesktop.org/lumag/msm/-/commit/096775c3dcf3 [2/2] drm/msm/dpu: correct struct dpu_encoder_virt docs https://gitlab.freedesktop.org/lumag/msm/-/commit/2ee664833000
Best regards,
Signature · 1 line
Dmitry Baryshkov <[email protected]>