Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/dpu: Consistently use u32 instead of uint32_t

Linux coding style asks to use kernel types like u32 instead of uint32_t
and code already has it in other places, so unify the remaining pieces.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/659623/
Link: https://lore.kernel.org/r/20250618-b4-sm8750-display-v7-9-a591c609743d@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Krzysztof Kozlowski and committed by
Dmitry Baryshkov
afff6425 c2577fc1

+4 -5
+4 -5
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
··· 323 323 struct dpu_plane_state *pstate, const struct msm_format *format) 324 324 { 325 325 struct dpu_hw_mixer *lm = mixer->hw_lm; 326 - uint32_t blend_op; 327 - uint32_t fg_alpha, bg_alpha; 326 + u32 blend_op; 327 + u32 fg_alpha, bg_alpha; 328 328 329 329 fg_alpha = pstate->base.alpha >> 8; 330 330 bg_alpha = 0xff - fg_alpha; ··· 402 402 struct dpu_hw_stage_cfg *stage_cfg 403 403 ) 404 404 { 405 - uint32_t lm_idx; 405 + u32 lm_idx; 406 406 enum dpu_sspp sspp_idx; 407 407 struct drm_plane_state *state; 408 408 ··· 442 442 struct dpu_plane_state *pstate = NULL; 443 443 const struct msm_format *format; 444 444 struct dpu_hw_ctl *ctl = mixer->lm_ctl; 445 - 446 - uint32_t lm_idx; 445 + u32 lm_idx; 447 446 bool bg_alpha_enable = false; 448 447 DECLARE_BITMAP(active_fetch, SSPP_MAX); 449 448