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 @@ -722,7 +722,7 @@ struct dp_audio_test_data_flags {
722
722
struct dp_audio_test_data {
723
723
724
724
struct dp_audio_test_data_flags flags ;
725
- uint32_t sampling_rate ;
725
+ uint8_t sampling_rate ;
726
726
uint8_t channel_count ;
727
727
uint8_t pattern_type ;
728
728
uint8_t pattern_period [8 ];
Original file line number Diff line number Diff line change @@ -787,8 +787,7 @@ bool dp_set_test_pattern(
787
787
core_link_read_dpcd (link , DP_TRAINING_PATTERN_SET ,
788
788
& training_pattern .raw ,
789
789
sizeof (training_pattern ));
790
- if (pattern <= PHY_TEST_PATTERN_END_DP11 )
791
- training_pattern .v1_3 .LINK_QUAL_PATTERN_SET = pattern ;
790
+ training_pattern .v1_3 .LINK_QUAL_PATTERN_SET = pattern ;
792
791
core_link_write_dpcd (link , DP_TRAINING_PATTERN_SET ,
793
792
& training_pattern .raw ,
794
793
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