diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dispc.c | 8 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.c | 6 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.h | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 6 |
5 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c index 84f274c4a4cb..da95dbfdf790 100644 --- a/drivers/gpu/drm/omapdrm/dss/dispc.c +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c | |||
| @@ -2904,13 +2904,6 @@ static int dispc_ovl_enable(struct dispc_device *dispc, | |||
| 2904 | return 0; | 2904 | return 0; |
| 2905 | } | 2905 | } |
| 2906 | 2906 | ||
| 2907 | static enum omap_dss_output_id | ||
| 2908 | dispc_mgr_get_supported_outputs(struct dispc_device *dispc, | ||
| 2909 | enum omap_channel channel) | ||
| 2910 | { | ||
| 2911 | return dss_get_supported_outputs(dispc->dss, channel); | ||
| 2912 | } | ||
| 2913 | |||
| 2914 | static void dispc_lcd_enable_signal_polarity(struct dispc_device *dispc, | 2907 | static void dispc_lcd_enable_signal_polarity(struct dispc_device *dispc, |
| 2915 | bool act_high) | 2908 | bool act_high) |
| 2916 | { | 2909 | { |
| @@ -4742,7 +4735,6 @@ static const struct dispc_ops dispc_ops = { | |||
| 4742 | .mgr_set_lcd_config = dispc_mgr_set_lcd_config, | 4735 | .mgr_set_lcd_config = dispc_mgr_set_lcd_config, |
| 4743 | .mgr_set_timings = dispc_mgr_set_timings, | 4736 | .mgr_set_timings = dispc_mgr_set_timings, |
| 4744 | .mgr_setup = dispc_mgr_setup, | 4737 | .mgr_setup = dispc_mgr_setup, |
| 4745 | .mgr_get_supported_outputs = dispc_mgr_get_supported_outputs, | ||
| 4746 | .mgr_gamma_size = dispc_mgr_gamma_size, | 4738 | .mgr_gamma_size = dispc_mgr_gamma_size, |
| 4747 | .mgr_set_gamma = dispc_mgr_set_gamma, | 4739 | .mgr_set_gamma = dispc_mgr_set_gamma, |
| 4748 | 4740 | ||
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index 7245dd3423e6..b473aff466d7 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c | |||
| @@ -678,12 +678,6 @@ unsigned long dss_get_max_fck_rate(struct dss_device *dss) | |||
| 678 | return dss->feat->fck_freq_max; | 678 | return dss->feat->fck_freq_max; |
| 679 | } | 679 | } |
| 680 | 680 | ||
| 681 | enum omap_dss_output_id dss_get_supported_outputs(struct dss_device *dss, | ||
| 682 | enum omap_channel channel) | ||
| 683 | { | ||
| 684 | return dss->feat->outputs[channel]; | ||
| 685 | } | ||
| 686 | |||
| 687 | static int dss_setup_default_clock(struct dss_device *dss) | 681 | static int dss_setup_default_clock(struct dss_device *dss) |
| 688 | { | 682 | { |
| 689 | unsigned long max_dss_fck, prate; | 683 | unsigned long max_dss_fck, prate; |
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.h b/drivers/gpu/drm/omapdrm/dss/dss.h index 0305eaf2c30c..ee06051933c5 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.h +++ b/drivers/gpu/drm/omapdrm/dss/dss.h | |||
| @@ -317,8 +317,6 @@ void dss_runtime_put(struct dss_device *dss); | |||
| 317 | 317 | ||
| 318 | unsigned long dss_get_dispc_clk_rate(struct dss_device *dss); | 318 | unsigned long dss_get_dispc_clk_rate(struct dss_device *dss); |
| 319 | unsigned long dss_get_max_fck_rate(struct dss_device *dss); | 319 | unsigned long dss_get_max_fck_rate(struct dss_device *dss); |
| 320 | enum omap_dss_output_id dss_get_supported_outputs(struct dss_device *dss, | ||
| 321 | enum omap_channel channel); | ||
| 322 | int dss_dpi_select_source(struct dss_device *dss, int port, | 320 | int dss_dpi_select_source(struct dss_device *dss, int port, |
| 323 | enum omap_channel channel); | 321 | enum omap_channel channel); |
| 324 | void dss_select_hdmi_venc_clk_source(struct dss_device *dss, | 322 | void dss_select_hdmi_venc_clk_source(struct dss_device *dss, |
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index a732a4a0dc36..8ef0ac3d1d44 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h | |||
| @@ -640,8 +640,6 @@ struct dispc_ops { | |||
| 640 | const struct videomode *vm); | 640 | const struct videomode *vm); |
| 641 | void (*mgr_setup)(struct dispc_device *dispc, enum omap_channel channel, | 641 | void (*mgr_setup)(struct dispc_device *dispc, enum omap_channel channel, |
| 642 | const struct omap_overlay_manager_info *info); | 642 | const struct omap_overlay_manager_info *info); |
| 643 | enum omap_dss_output_id (*mgr_get_supported_outputs)( | ||
| 644 | struct dispc_device *dispc, enum omap_channel channel); | ||
| 645 | u32 (*mgr_gamma_size)(struct dispc_device *dispc, | 643 | u32 (*mgr_gamma_size)(struct dispc_device *dispc, |
| 646 | enum omap_channel channel); | 644 | enum omap_channel channel); |
| 647 | void (*mgr_set_gamma)(struct dispc_device *dispc, | 645 | void (*mgr_set_gamma)(struct dispc_device *dispc, |
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 5a56c8e02179..90917d040ddb 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c | |||
| @@ -114,12 +114,6 @@ static int omap_crtc_dss_connect(struct omap_drm_private *priv, | |||
| 114 | enum omap_channel channel, | 114 | enum omap_channel channel, |
| 115 | struct omap_dss_device *dst) | 115 | struct omap_dss_device *dst) |
| 116 | { | 116 | { |
| 117 | const struct dispc_ops *dispc_ops = priv->dispc_ops; | ||
| 118 | struct dispc_device *dispc = priv->dispc; | ||
| 119 | |||
| 120 | if (!(dispc_ops->mgr_get_supported_outputs(dispc, channel) & dst->id)) | ||
| 121 | return -EINVAL; | ||
| 122 | |||
| 123 | dst->dispc_channel_connected = true; | 117 | dst->dispc_channel_connected = true; |
| 124 | 118 | ||
| 125 | return 0; | 119 | return 0; |
