drm/msm/dpu: drop unused access macros
PATCH 1/1 drm/msm/dpu: drop unused access macros
The access macros BLK_foo are not used by the code, drop them.
Signed-off-by Dmitry Baryshkov <[email protected]>
--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 ---------------- 1 file changed, 16 deletions(-)
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0 -16
@@ -778,22 +778,6 @@ struct dpu_mdss_cfg {unsigned long mdss_irqs; }; -/* -* Access Macros -*/ -#define BLK_MDP (s) ((s)->mdp) -#define BLK_CTL (s) ((s)->ctl) -#define BLK_VIG (s) ((s)->vig) -#define BLK_RGB (s) ((s)->rgb) -#define BLK_DMA (s) ((s)->dma) -#define BLK_CURSOR (s) ((s)->cursor) -#define BLK_MIXER (s) ((s)->mixer) -#define BLK_PINGPONG (s) ((s)->pingpong) -#define BLK_INTF (s) ((s)->intf) -#define BLK_AD (s) ((s)->ad) -#define BLK_DSPP (s) ((s)->dspp) -#define BLK_MERGE3d (s) ((s)->merge_3d) -/** * dpu_hw_catalog_init - dpu hardware catalog init API retrieves * hardcoded target specific catalog information in config structure
Signature · 1 line
2.34.1
Quoted 3 lines · Dmitry Baryshkov
The access macros
BLK_fooare not used by the code, drop them.Signed-off-by Dmitry Baryshkov <[email protected]>
Reviewed-by Bjorn Andersson <[email protected]>
Quoted 34 lines
--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 ---------------- 1 file changed, 16 deletions(-)drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0
-16@@ -778,22 +778,6 @@ struct dpu_mdss_cfg {unsigned long mdss_irqs; }; -/* -* Access Macros -*/ -#define BLK_MDP (s) ((s)->mdp) -#define BLK_CTL (s) ((s)->ctl) -#define BLK_VIG (s) ((s)->vig) -#define BLK_RGB (s) ((s)->rgb) -#define BLK_DMA (s) ((s)->dma) -#define BLK_CURSOR (s) ((s)->cursor) -#define BLK_MIXER (s) ((s)->mixer) -#define BLK_PINGPONG (s) ((s)->pingpong) -#define BLK_INTF (s) ((s)->intf) -#define BLK_AD (s) ((s)->ad) -#define BLK_DSPP (s) ((s)->dspp) -#define BLK_MERGE3d (s) ((s)->merge_3d) -/** * dpu_hw_catalog_init - dpu hardware catalog init API retrieves * hardcoded target specific catalog information in config structure Signature · 1 line
2.34.1
Quoting Dmitry Baryshkov (2022-02-15 06:53:06)
Quoted 4 lines
The access macros
BLK_fooare not used by the code, drop them.Signed-off-by Dmitry Baryshkov <[email protected]>---
Reviewed-by Stephen Boyd <[email protected]>
Quoted 3 lines · Dmitry Baryshkov
The access macros
BLK_fooare not used by the code, drop them.Signed-off-by Dmitry Baryshkov <[email protected]>
Reviewed-by Abhinav Kumar <[email protected]>
Quoted 31 lines
--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 ---------------- 1 file changed, 16 deletions(-)drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +0
-16@@ -778,22 +778,6 @@ struct dpu_mdss_cfg {unsigned long mdss_irqs; }; -/* -* Access Macros -*/ -#define BLK_MDP (s) ((s)->mdp) -#define BLK_CTL (s) ((s)->ctl) -#define BLK_VIG (s) ((s)->vig) -#define BLK_RGB (s) ((s)->rgb) -#define BLK_DMA (s) ((s)->dma) -#define BLK_CURSOR (s) ((s)->cursor) -#define BLK_MIXER (s) ((s)->mixer) -#define BLK_PINGPONG (s) ((s)->pingpong) -#define BLK_INTF (s) ((s)->intf) -#define BLK_AD (s) ((s)->ad) -#define BLK_DSPP (s) ((s)->dspp) -#define BLK_MERGE3d (s) ((s)->merge_3d) -/** * dpu_hw_catalog_init - dpu hardware catalog init API retrieves * hardcoded target specific catalog information in config structure