drm/msm: convert msm_format::unpack_tight to the flag
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 20 Apr 2024 04:01:03 +0000 (07:01 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 23 Apr 2024 09:56:29 +0000 (12:56 +0300)
commite09251486b946d5630f481965e5251dd620eed35
treef8c06f71b6376ada27aa0fce7c035c53f6d76bc5
parent0e67f514486f0aec823415c379fc274dfa096c18
drm/msm: convert msm_format::unpack_tight to the flag

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.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/590428/
Link: https://lore.kernel.org/r/20240420-dpu-format-v2-6-9e93226cbffd@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c
drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c
drivers/gpu/drm/msm/disp/mdp_format.c
drivers/gpu/drm/msm/disp/mdp_format.h