Commit a10eadfb authored by Tony Cheng's avatar Tony Cheng Committed by Alex Deucher

drm/amd/display: remove SIGNAL_TYPE_WIRELESS

Signed-off-by: default avatarTony Cheng <tony.cheng@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6e4d6bee
...@@ -44,7 +44,6 @@ static const struct dc_signal_type_info signal_type_info_tbl[] = { ...@@ -44,7 +44,6 @@ static const struct dc_signal_type_info signal_type_info_tbl[] = {
{SIGNAL_TYPE_DISPLAY_PORT, "DP"}, {SIGNAL_TYPE_DISPLAY_PORT, "DP"},
{SIGNAL_TYPE_DISPLAY_PORT_MST, "MST"}, {SIGNAL_TYPE_DISPLAY_PORT_MST, "MST"},
{SIGNAL_TYPE_EDP, "eDP"}, {SIGNAL_TYPE_EDP, "eDP"},
{SIGNAL_TYPE_WIRELESS, "Wireless"},
{SIGNAL_TYPE_VIRTUAL, "Virtual"} {SIGNAL_TYPE_VIRTUAL, "Virtual"}
}; };
......
...@@ -75,7 +75,6 @@ bool dc_is_audio_capable_signal(enum signal_type signal) ...@@ -75,7 +75,6 @@ bool dc_is_audio_capable_signal(enum signal_type signal)
{ {
return (signal == SIGNAL_TYPE_DISPLAY_PORT || return (signal == SIGNAL_TYPE_DISPLAY_PORT ||
signal == SIGNAL_TYPE_DISPLAY_PORT_MST || signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
dc_is_hdmi_signal(signal) || dc_is_hdmi_signal(signal));
signal == SIGNAL_TYPE_WIRELESS);
} }
...@@ -1051,9 +1051,6 @@ static bool construct( ...@@ -1051,9 +1051,6 @@ static bool construct(
if (link->device_tag.dev_id.device_type == DEVICE_TYPE_LCD if (link->device_tag.dev_id.device_type == DEVICE_TYPE_LCD
&& link->public.connector_signal == SIGNAL_TYPE_RGB) && link->public.connector_signal == SIGNAL_TYPE_RGB)
continue; continue;
if (link->device_tag.dev_id.device_type == DEVICE_TYPE_WIRELESS
&& link->public.connector_signal != SIGNAL_TYPE_WIRELESS)
continue;
break; break;
} }
......
...@@ -941,7 +941,6 @@ bool dce110_link_encoder_construct( ...@@ -941,7 +941,6 @@ bool dce110_link_encoder_construct(
enc110->base.hpd_source = init_data->hpd_source; enc110->base.hpd_source = init_data->hpd_source;
enc110->base.connector = init_data->connector; enc110->base.connector = init_data->connector;
enc110->base.input_signals = SIGNAL_TYPE_ALL;
enc110->base.preferred_engine = ENGINE_ID_UNKNOWN; enc110->base.preferred_engine = ENGINE_ID_UNKNOWN;
......
...@@ -186,7 +186,6 @@ struct link_encoder { ...@@ -186,7 +186,6 @@ struct link_encoder {
struct dc_context *ctx; struct dc_context *ctx;
struct graphics_object_id id; struct graphics_object_id id;
struct graphics_object_id connector; struct graphics_object_id connector;
uint32_t input_signals;
uint32_t output_signals; uint32_t output_signals;
enum engine_id preferred_engine; enum engine_id preferred_engine;
struct encoder_feature_support features; struct encoder_feature_support features;
......
...@@ -36,11 +36,7 @@ enum signal_type { ...@@ -36,11 +36,7 @@ enum signal_type {
SIGNAL_TYPE_DISPLAY_PORT = (1 << 5), SIGNAL_TYPE_DISPLAY_PORT = (1 << 5),
SIGNAL_TYPE_DISPLAY_PORT_MST = (1 << 6), SIGNAL_TYPE_DISPLAY_PORT_MST = (1 << 6),
SIGNAL_TYPE_EDP = (1 << 7), SIGNAL_TYPE_EDP = (1 << 7),
SIGNAL_TYPE_WIRELESS = (1 << 8), /* Wireless Display */
SIGNAL_TYPE_VIRTUAL = (1 << 9), /* Virtual Display */ SIGNAL_TYPE_VIRTUAL = (1 << 9), /* Virtual Display */
SIGNAL_TYPE_COUNT = 10,
SIGNAL_TYPE_ALL = (1 << SIGNAL_TYPE_COUNT) - 1
}; };
/* help functions for signal types manipulation */ /* help functions for signal types manipulation */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment