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 {
721
721
struct dp_audio_test_data {
722
722
723
723
struct dp_audio_test_data_flags flags ;
724
- uint32_t sampling_rate ;
724
+ uint8_t sampling_rate ;
725
725
uint8_t channel_count ;
726
726
uint8_t pattern_type ;
727
727
uint8_t pattern_period [8 ];
Original file line number Diff line number Diff line change @@ -849,8 +849,7 @@ bool dp_set_test_pattern(
849
849
core_link_read_dpcd (link , DP_TRAINING_PATTERN_SET ,
850
850
& training_pattern .raw ,
851
851
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 ;
854
853
core_link_write_dpcd (link , DP_TRAINING_PATTERN_SET ,
855
854
& training_pattern .raw ,
856
855
sizeof (training_pattern ));
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ enum dpcd_phy_test_patterns {
76
76
PHY_TEST_PATTERN_D10_2 ,
77
77
PHY_TEST_PATTERN_SYMBOL_ERROR ,
78
78
PHY_TEST_PATTERN_PRBS7 ,
79
- PHY_TEST_PATTERN_END_DP11 = PHY_TEST_PATTERN_PRBS7 ,
80
79
PHY_TEST_PATTERN_80BIT_CUSTOM ,/* For DP1.2 only */
81
80
PHY_TEST_PATTERN_CP2520_1 ,
82
81
PHY_TEST_PATTERN_CP2520_2 ,
You can’t perform that action at this time.
0 commit comments