File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
drivers/gpu/drm/amd/display Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ struct dp_audio_test_data_flags {
721721struct dp_audio_test_data {
722722
723723 struct dp_audio_test_data_flags flags ;
724- uint32_t sampling_rate ;
724+ uint8_t sampling_rate ;
725725 uint8_t channel_count ;
726726 uint8_t pattern_type ;
727727 uint8_t pattern_period [8 ];
Original file line number Diff line number Diff line change @@ -849,8 +849,7 @@ bool dp_set_test_pattern(
849849 core_link_read_dpcd (link , DP_TRAINING_PATTERN_SET ,
850850 & training_pattern .raw ,
851851 sizeof (training_pattern ));
852- if (pattern <= PHY_TEST_PATTERN_END_DP11 )
853- training_pattern .v1_3 .LINK_QUAL_PATTERN_SET = pattern ;
852+ training_pattern .v1_3 .LINK_QUAL_PATTERN_SET = pattern ;
854853 core_link_write_dpcd (link , DP_TRAINING_PATTERN_SET ,
855854 & training_pattern .raw ,
856855 sizeof (training_pattern ));
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ enum dpcd_phy_test_patterns {
7676 PHY_TEST_PATTERN_D10_2 ,
7777 PHY_TEST_PATTERN_SYMBOL_ERROR ,
7878 PHY_TEST_PATTERN_PRBS7 ,
79- PHY_TEST_PATTERN_END_DP11 = PHY_TEST_PATTERN_PRBS7 ,
8079 PHY_TEST_PATTERN_80BIT_CUSTOM ,/* For DP1.2 only */
8180 PHY_TEST_PATTERN_CP2520_1 ,
8281 PHY_TEST_PATTERN_CP2520_2 ,
You can’t perform that action at this time.
0 commit comments