File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
drivers/gpu/drm/amd/display/dc/hwss/dce110 Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -952,8 +952,8 @@ void dce110_edp_backlight_control(
952
952
struct dc_context * ctx = link -> ctx ;
953
953
struct bp_transmitter_control cntl = { 0 };
954
954
uint8_t pwrseq_instance = 0 ;
955
- unsigned int pre_T11_delay = OLED_PRE_T11_DELAY ;
956
- unsigned int post_T7_delay = OLED_POST_T7_DELAY ;
955
+ unsigned int pre_T11_delay = ( link -> dpcd_sink_ext_caps . bits . oled ? OLED_PRE_T11_DELAY : 0 ) ;
956
+ unsigned int post_T7_delay = ( link -> dpcd_sink_ext_caps . bits . oled ? OLED_POST_T7_DELAY : 0 ) ;
957
957
958
958
if (dal_graphics_object_id_get_connector_id (link -> link_enc -> connector )
959
959
!= CONNECTOR_ID_EDP ) {
@@ -1069,7 +1069,8 @@ void dce110_edp_backlight_control(
1069
1069
if (!enable ) {
1070
1070
/*follow oem panel config's requirement*/
1071
1071
pre_T11_delay += link -> panel_config .pps .extra_pre_t11_ms ;
1072
- msleep (pre_T11_delay );
1072
+ if (pre_T11_delay )
1073
+ msleep (pre_T11_delay );
1073
1074
}
1074
1075
}
1075
1076
You can’t perform that action at this time.
0 commit comments