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

2024-07-01 Thread Dmitry Baryshkov
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 >

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

2024-06-28 Thread Abhinav Kumar
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 --- dr

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

2024-06-28 Thread Dmitry Baryshkov
On Fri, 28 Jun 2024 at 08:44, Abhinav Kumar wrote: > > > > On 6/27/2024 4:22 PM, Dmitry Baryshkov wrote: > > On Fri, 28 Jun 2024 at 00:21, Abhinav Kumar > > wrote: > >> > >> > >> > >> On 6/27/2024 2:13 PM, Rob Clark wrote: > >>> On Thu, Jun 27, 2024 at 1:53 PM Abhinav Kumar > >>> wrote: >

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

2024-06-27 Thread Abhinav Kumar
On 6/27/2024 4:22 PM, Dmitry Baryshkov wrote: On Fri, 28 Jun 2024 at 00:21, Abhinav Kumar wrote: On 6/27/2024 2:13 PM, Rob Clark wrote: On Thu, Jun 27, 2024 at 1:53 PM Abhinav Kumar wrote: On QCM2290 chipset DPU does not support UBWC. Add a dpu cap to indicate this and do not expose

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

2024-06-27 Thread Dmitry Baryshkov
On Fri, 28 Jun 2024 at 00:21, Abhinav Kumar wrote: > > > > On 6/27/2024 2:13 PM, Rob Clark wrote: > > On Thu, Jun 27, 2024 at 1:53 PM Abhinav Kumar > > wrote: > >> > >> On QCM2290 chipset DPU does not support UBWC. > >> > >> Add a dpu cap to indicate this and do not expose compressed formats > >

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

2024-06-27 Thread Abhinav Kumar
On 6/27/2024 2:13 PM, Rob Clark wrote: On Thu, Jun 27, 2024 at 1:53 PM 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. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/cat

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

2024-06-27 Thread Rob Clark
On Thu, Jun 27, 2024 at 1:53 PM 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. > > Signed-off-by: Abhinav Kumar > --- > drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 1 + >

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

2024-06-27 Thread Abhinav Kumar
On QCM2290 chipset DPU does not support UBWC. Add a dpu cap to indicate this and do not expose compressed formats in this case. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 ++ drivers