Skip to content

Commit 821ddae

Browse files
mtk-rex-bc-chendigetx
authored andcommitted
drm/mediatek: dp: Remove unused register definitions
Some definitions in mtk_dp_reg.h are not used, so remove these redundant codes. Signed-off-by: Bo-Chen Chen <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Acked-by: Chun-Kuang Hu <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6e4c968 commit 821ddae

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/gpu/drm/mediatek/mtk_dp_reg.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@
153153
#define CH_STATUS_1_DP_ENC0_P0_MASK GENMASK(15, 0)
154154
#define MTK_DP_ENC0_P0_3094 0x3094
155155
#define CH_STATUS_2_DP_ENC0_P0_MASK GENMASK(7, 0)
156-
#define MTK_DP_ENC0_P0_30A0 0x30a0
157-
#define DP_ENC0_30A0_MASK (BIT(7) | BIT(8) | BIT(12))
158156
#define MTK_DP_ENC0_P0_30A4 0x30a4
159157
#define AU_TS_CFG_DP_ENC0_P0_MASK GENMASK(7, 0)
160158
#define MTK_DP_ENC0_P0_30A8 0x30a8
@@ -171,8 +169,6 @@
171169
#define MTK_DP_ENC0_P0_312C 0x312c
172170
#define ASP_HB2_DP_ENC0_P0_MASK GENMASK(7, 0)
173171
#define ASP_HB3_DP_ENC0_P0_MASK GENMASK(15, 8)
174-
#define MTK_DP_ENC0_P0_3130 0x3130
175-
#define MTK_DP_ENC0_P0_3138 0x3138
176172
#define MTK_DP_ENC0_P0_3154 0x3154
177173
#define PGEN_HTOTAL_DP_ENC0_P0_MASK GENMASK(13, 0)
178174
#define MTK_DP_ENC0_P0_3158 0x3158
@@ -206,8 +202,6 @@
206202
#define SDP_PACKET_TYPE_DP_ENC1_P0_MASK GENMASK(4, 0)
207203
#define SDP_PACKET_W_DP_ENC1_P0 BIT(5)
208204
#define SDP_PACKET_W_DP_ENC1_P0_MASK BIT(5)
209-
#define MTK_DP_ENC1_P0_328C 0x328c
210-
#define VSC_DATA_RDY_VESA_DP_ENC1_P0_MASK BIT(7)
211205
#define MTK_DP_ENC1_P0_3300 0x3300
212206
#define VIDEO_AFIFO_RDY_SEL_DP_ENC1_P0_VAL 2
213207
#define VIDEO_AFIFO_RDY_SEL_DP_ENC1_P0_MASK GENMASK(9, 8)

0 commit comments

Comments
 (0)