[PATCH 08/12] drm/msm: convert msm_format::unpack_tight to the flag

Abhinav Kumar quic_abhinavk at quicinc.com
Thu Apr 11 21:02:16 UTC 2024



On 12/2/2023 1:40 PM, Dmitry Baryshkov wrote:
> Instead of having a u8 or bool field unpack_tight, convert it to the
> flag, this save space in the tables and allows us to handle all booleans
> in the same way.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 22 +++------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c |  2 +-
>   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c   |  2 +-
>   drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c  |  3 +-
>   drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c  |  3 +-
>   drivers/gpu/drm/msm/disp/mdp_format.c       | 52 ++++++++++-----------
>   drivers/gpu/drm/msm/msm_drv.h               |  4 +-
>   7 files changed, 41 insertions(+), 47 deletions(-)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the dri-devel mailing list