Re: [PATCH v2 1/3] drm/msm/mdss: define bitfields for the UBWC_STATIC register

2024-11-26 Thread Dmitry Baryshkov
On Mon, Nov 25, 2024 at 06:03:52PM -0800, Abhinav Kumar wrote: > > > On 11/22/2024 9:44 PM, Dmitry Baryshkov wrote: > > Rather than hand-coding UBWC_STATIC value calculation, define > > corresponding bitfields and use them to setup the register value. > > > > Signed-off-by: Dmitry Baryshkov > >

Re: [PATCH v2 1/3] drm/msm/mdss: define bitfields for the UBWC_STATIC register

2024-11-25 Thread Abhinav Kumar
On 11/22/2024 9:44 PM, Dmitry Baryshkov wrote: Rather than hand-coding UBWC_STATIC value calculation, define corresponding bitfields and use them to setup the register value. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_mdss.c | 38 +++---

[PATCH v2 1/3] drm/msm/mdss: define bitfields for the UBWC_STATIC register

2024-11-22 Thread Dmitry Baryshkov
Rather than hand-coding UBWC_STATIC value calculation, define corresponding bitfields and use them to setup the register value. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/msm_mdss.c | 38 +++--- drivers/gpu/drm/msm/msm_mdss.h | 3