Message ID | 20230911214521.787453-1-dmitry.baryshkov@linaro.org |
---|---|
Headers | show |
Series | drm/msm/dpu: simplify DPU sub-blocks info | expand |
On 9/11/2023 2:45 PM, Dmitry Baryshkov wrote: > From: Marijn Suijten <marijn.suijten@somainline.org> > > This pointer callback is never used and should be removed. > > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > [DB: dropped the helpers completely, which are unused now] > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c | 13 +------------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 6 ------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c | 6 ------ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h | 3 --- > 4 files changed, 1 insertion(+), 27 deletions(-) > Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
On 9/11/2023 2:45 PM, Dmitry Baryshkov wrote: > The field `id' is not used for subblocks. The handling code usually > knows, which sub-block it is now looking at. Drop the field completely. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 76 +++++++++---------- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 - > 2 files changed, 36 insertions(+), 42 deletions(-) > Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
On 9/11/2023 2:45 PM, Dmitry Baryshkov wrote: > In preparation to deduplicating SSPP subblocks, drop the (unused) > `smart_dma_priority' field from struct dpu_sspp_sub_blks. If it is > needed later (e.g. for SmartDMA v1), it should be added to the SSPP > declarations themselves. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 112 +++++++----------- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 - > 2 files changed, 40 insertions(+), 74 deletions(-) > Alright, if we need it later, we can add it to the SSPP itself Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>