[PATCH] drm/msm/dpu: check ubwc support before adding compressed formats

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Mon Jul 1 19:49:37 UTC 2024


On Fri, Jun 28, 2024 at 04:39:27PM GMT, Abhinav Kumar wrote:
> On QCM2290 chipset DPU does not support UBWC.
> 
> Add a dpu cap to indicate this and do not expose compressed formats
> in this case.
> 
> changes since RFC:
> 	- use ubwc enc and dec version of mdss_data instead of catalog
> 	  to decide if ubwc is supported
> 
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
>  drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list