drm/msm/dpu: in dpu_format replace bitmap with unsigned long field
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 20 Apr 2024 04:01:00 +0000 (07:01 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 23 Apr 2024 09:56:29 +0000 (12:56 +0300)
commit932733b89f8b36dce623beccdb6ae4a9a128bf7a
tree78583321e7eebd478d294b475da913a1c3e4909e
parent966c5deecf89a4fccd65106149850ab563825d3a
drm/msm/dpu: in dpu_format replace bitmap with unsigned long field

Using bitmap for the flags results in a clumsy syntax on test_bit,
replace it with unsigned long type and simple binary ops.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/590422/
Link: https://lore.kernel.org/r/20240420-dpu-format-v2-3-9e93226cbffd@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h