Commit 2a2f97e5 authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Alex Deucher

drm/amd/display: Drop legacy code

Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: default avatarRoman Li <roman.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ffa6d7ab
...@@ -917,16 +917,6 @@ struct dpcd_usb4_dp_tunneling_info { ...@@ -917,16 +917,6 @@ struct dpcd_usb4_dp_tunneling_info {
uint8_t usb4_topology_id[DPCD_USB4_TOPOLOGY_ID_LEN]; uint8_t usb4_topology_id[DPCD_USB4_TOPOLOGY_ID_LEN];
}; };
#ifndef DP_DFP_CAPABILITY_EXTENSION_SUPPORT
#define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3
#endif
#ifndef DP_TEST_264BIT_CUSTOM_PATTERN_7_0
#define DP_TEST_264BIT_CUSTOM_PATTERN_7_0 0X2230
#endif
#ifndef DP_TEST_264BIT_CUSTOM_PATTERN_263_256
#define DP_TEST_264BIT_CUSTOM_PATTERN_263_256 0X2250
#endif
union dp_main_line_channel_coding_cap { union dp_main_line_channel_coding_cap {
struct { struct {
uint8_t DP_8b_10b_SUPPORTED :1; uint8_t DP_8b_10b_SUPPORTED :1;
......
...@@ -95,10 +95,6 @@ static bool offset_to_id( ...@@ -95,10 +95,6 @@ static bool offset_to_id(
return true; return true;
default: default:
ASSERT_CRITICAL(false); ASSERT_CRITICAL(false);
#ifdef PALLADIUM_SUPPORTED
*en = GPIO_DDC_LINE_DDC1;
return true;
#endif
return false; return false;
} }
break; break;
...@@ -184,11 +180,6 @@ static bool offset_to_id( ...@@ -184,11 +180,6 @@ static bool offset_to_id(
/* UNEXPECTED */ /* UNEXPECTED */
default: default:
/* case REG(DC_GPIO_SYNCA_A): not exista */ /* case REG(DC_GPIO_SYNCA_A): not exista */
#ifdef PALLADIUM_SUPPORTED
*id = GPIO_ID_HPD;
*en = GPIO_DDC_LINE_DDC1;
return true;
#endif
ASSERT_CRITICAL(false); ASSERT_CRITICAL(false);
return false; return false;
} }
...@@ -308,10 +299,6 @@ static bool id_to_offset( ...@@ -308,10 +299,6 @@ static bool id_to_offset(
break; break;
default: default:
ASSERT_CRITICAL(false); ASSERT_CRITICAL(false);
#ifdef PALLADIUM_SUPPORTED
info->mask = DC_GPIO_HPD_A__DC_GPIO_HPD1_A_MASK;
result = true;
#endif
result = false; result = false;
} }
break; break;
......
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