diff options
author | Tony Cheng <tony.cheng@amd.com> | 2017-01-14 11:46:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:10:19 -0400 |
commit | ac0e562c521228215d597fe3ef0c13f02077f700 (patch) | |
tree | ded2f95383819a404c79df5b74f3ff2c527ff136 /drivers/gpu/drm/amd/display/dc/basics | |
parent | bf72726358adfedcf1c268690521891809332151 (diff) | |
download | linux-ac0e562c521228215d597fe3ef0c13f02077f700.tar.bz2 |
drm/amd/display: remove un-used defines and dead code
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/basics/signal_types.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/basics/signal_types.c b/drivers/gpu/drm/amd/display/dc/basics/signal_types.c index 44447e07803a..247487c3db71 100644 --- a/drivers/gpu/drm/amd/display/dc/basics/signal_types.c +++ b/drivers/gpu/drm/amd/display/dc/basics/signal_types.c @@ -44,23 +44,6 @@ bool dc_is_dp_signal(enum signal_type signal) signal == SIGNAL_TYPE_DISPLAY_PORT_MST); } -bool dc_is_dp_external_signal(enum signal_type signal) -{ - return (signal == SIGNAL_TYPE_DISPLAY_PORT || - signal == SIGNAL_TYPE_DISPLAY_PORT_MST); -} - -bool dc_is_analog_signal(enum signal_type signal) -{ - switch (signal) { - case SIGNAL_TYPE_RGB: - return true; - break; - default: - return false; - } -} - bool dc_is_embedded_signal(enum signal_type signal) { return (signal == SIGNAL_TYPE_EDP || signal == SIGNAL_TYPE_LVDS); @@ -96,21 +79,3 @@ bool dc_is_audio_capable_signal(enum signal_type signal) signal == SIGNAL_TYPE_WIRELESS); } -/* - * @brief - * Returns whether the signal is compatible - * with other digital encoder signal types. - * This is true for DVI, LVDS, and HDMI signal types. - */ -bool dc_is_digital_encoder_compatible_signal(enum signal_type signal) -{ - switch (signal) { - case SIGNAL_TYPE_DVI_SINGLE_LINK: - case SIGNAL_TYPE_DVI_DUAL_LINK: - case SIGNAL_TYPE_HDMI_TYPE_A: - case SIGNAL_TYPE_LVDS: - return true; - default: - return false; - } -} |