Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Drop legacy code

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Rodrigo Siqueira and committed by
Alex Deucher
2a2f97e5 ffa6d7ab

-23
-10
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
··· 917 917 uint8_t usb4_topology_id[DPCD_USB4_TOPOLOGY_ID_LEN]; 918 918 }; 919 919 920 - #ifndef DP_DFP_CAPABILITY_EXTENSION_SUPPORT 921 - #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT 0x0A3 922 - #endif 923 - #ifndef DP_TEST_264BIT_CUSTOM_PATTERN_7_0 924 - #define DP_TEST_264BIT_CUSTOM_PATTERN_7_0 0X2230 925 - #endif 926 - #ifndef DP_TEST_264BIT_CUSTOM_PATTERN_263_256 927 - #define DP_TEST_264BIT_CUSTOM_PATTERN_263_256 0X2250 928 - #endif 929 - 930 920 union dp_main_line_channel_coding_cap { 931 921 struct { 932 922 uint8_t DP_8b_10b_SUPPORTED :1;
-13
drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_translate_dcn21.c
··· 95 95 return true; 96 96 default: 97 97 ASSERT_CRITICAL(false); 98 - #ifdef PALLADIUM_SUPPORTED 99 - *en = GPIO_DDC_LINE_DDC1; 100 - return true; 101 - #endif 102 98 return false; 103 99 } 104 100 break; ··· 180 184 /* UNEXPECTED */ 181 185 default: 182 186 /* case REG(DC_GPIO_SYNCA_A): not exista */ 183 - #ifdef PALLADIUM_SUPPORTED 184 - *id = GPIO_ID_HPD; 185 - *en = GPIO_DDC_LINE_DDC1; 186 - return true; 187 - #endif 188 187 ASSERT_CRITICAL(false); 189 188 return false; 190 189 } ··· 299 308 break; 300 309 default: 301 310 ASSERT_CRITICAL(false); 302 - #ifdef PALLADIUM_SUPPORTED 303 - info->mask = DC_GPIO_HPD_A__DC_GPIO_HPD1_A_MASK; 304 - result = true; 305 - #endif 306 311 result = false; 307 312 } 308 313 break;