Nothing reads the 'vp_bus_type' feat any more, and can be removed.

Reviewed-by: Aradhya Bhatia <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
---
 drivers/gpu/drm/tidss/tidss_dispc.c | 9 ---------
 drivers/gpu/drm/tidss/tidss_dispc.h | 9 ---------
 2 files changed, 18 deletions(-)

diff --git a/drivers/gpu/drm/tidss/tidss_dispc.c 
b/drivers/gpu/drm/tidss/tidss_dispc.c
index 8c537280faf5..028cf78df3fe 100644
--- a/drivers/gpu/drm/tidss/tidss_dispc.c
+++ b/drivers/gpu/drm/tidss/tidss_dispc.c
@@ -90,7 +90,6 @@ const struct dispc_features dispc_k2g_feats = {
        .vp_name = { "vp1" },
        .ovr_name = { "ovr1" },
        .vpclk_name =  { "vp1" },
-       .vp_bus_type = { DISPC_VP_DPI },
 
        .vp_feat = { .color = {
                        .has_ctm = true,
@@ -167,7 +166,6 @@ const struct dispc_features dispc_am65x_feats = {
        .vp_name = { "vp1", "vp2" },
        .ovr_name = { "ovr1", "ovr2" },
        .vpclk_name =  { "vp1", "vp2" },
-       .vp_bus_type = { DISPC_VP_OLDI_AM65X, DISPC_VP_DPI },
 
        .vp_feat = { .color = {
                        .has_ctm = true,
@@ -262,9 +260,6 @@ const struct dispc_features dispc_j721e_feats = {
        .vp_name = { "vp1", "vp2", "vp3", "vp4" },
        .ovr_name = { "ovr1", "ovr2", "ovr3", "ovr4" },
        .vpclk_name = { "vp1", "vp2", "vp3", "vp4" },
-       /* Currently hard coded VP routing (see dispc_initial_config()) */
-       .vp_bus_type =  { DISPC_VP_INTERNAL, DISPC_VP_DPI,
-                         DISPC_VP_INTERNAL, DISPC_VP_DPI, },
        .vp_feat = { .color = {
                        .has_ctm = true,
                        .gamma_size = 1024,
@@ -328,7 +323,6 @@ const struct dispc_features dispc_am625_feats = {
        .vp_name = { "vp1", "vp2" },
        .ovr_name = { "ovr1", "ovr2" },
        .vpclk_name =  { "vp1", "vp2" },
-       .vp_bus_type = { DISPC_VP_INTERNAL, DISPC_VP_DPI },
 
        .vp_feat = { .color = {
                        .has_ctm = true,
@@ -384,8 +378,6 @@ const struct dispc_features dispc_am62a7_feats = {
        .vp_name = { "vp1", "vp2" },
        .ovr_name = { "ovr1", "ovr2" },
        .vpclk_name =  { "vp1", "vp2" },
-       /* VP1 of the DSS in AM62A7 SoC is tied off internally */
-       .vp_bus_type = { DISPC_VP_TIED_OFF, DISPC_VP_DPI },
 
        .vp_feat = { .color = {
                        .has_ctm = true,
@@ -422,7 +414,6 @@ const struct dispc_features dispc_am62l_feats = {
        .vp_name = { "vp1" },
        .ovr_name = { "ovr1" },
        .vpclk_name =  { "vp1" },
-       .vp_bus_type = { DISPC_VP_DPI },
 
        .vp_feat = { .color = {
                        .has_ctm = true,
diff --git a/drivers/gpu/drm/tidss/tidss_dispc.h 
b/drivers/gpu/drm/tidss/tidss_dispc.h
index 3dff391d3fec..ebaf559d56e5 100644
--- a/drivers/gpu/drm/tidss/tidss_dispc.h
+++ b/drivers/gpu/drm/tidss/tidss_dispc.h
@@ -59,14 +59,6 @@ struct dispc_errata {
        bool i2000; /* DSS Does Not Support YUV Pixel Data Formats */
 };
 
-enum dispc_vp_bus_type {
-       DISPC_VP_DPI,           /* DPI output */
-       DISPC_VP_OLDI_AM65X,    /* OLDI (LVDS) output for AM65x DSS */
-       DISPC_VP_INTERNAL,      /* SoC internal routing */
-       DISPC_VP_TIED_OFF,      /* Tied off / Unavailable */
-       DISPC_VP_MAX_BUS_TYPE,
-};
-
 enum dispc_dss_subrevision {
        DISPC_K2G,
        DISPC_AM625,
@@ -87,7 +79,6 @@ struct dispc_features {
        const char *vp_name[TIDSS_MAX_PORTS]; /* Should match dt reg names */
        const char *ovr_name[TIDSS_MAX_PORTS]; /* Should match dt reg names */
        const char *vpclk_name[TIDSS_MAX_PORTS]; /* Should match dt clk names */
-       const enum dispc_vp_bus_type vp_bus_type[TIDSS_MAX_PORTS];
        struct tidss_vp_feat vp_feat;
        u32 num_vids;
        struct dispc_vid_info vid_info[TIDSS_MAX_PLANES];

-- 
2.43.0

Reply via email to