diff options
author | Agustin Gutierrez <[email protected]> | 2023-09-07 01:57:59 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-09-26 16:54:05 -0400 |
commit | 5710c6c0bda39789ada08fbe7b64aa13654b2dd2 (patch) | |
tree | f04281a9a7f8c706c85667e07bbf6ea72667760e | |
parent | c99b16128082de519975aa147d9da3e40380de67 (diff) |
drm/amd/display: Optimize OLED T7 delay
[Why]
Driver doesn't need T7 delay for OLED panels, since it doesn't control
power sequence.
[How]
This delay can be skipped to optimize resume times.
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Reviewed-by: Swapnil Patel <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Agustin Gutierrez <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index 2701620350af..baecaaf96968 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -1041,7 +1041,8 @@ void dce110_edp_backlight_control( link_transmitter_control(ctx->dc_bios, &cntl); - if (enable && link->dpcd_sink_ext_caps.bits.oled) { + if (enable && link->dpcd_sink_ext_caps.bits.oled && + !link->dc->config.edp_no_power_sequencing) { post_T7_delay += link->panel_config.pps.extra_post_t7_ms; msleep(post_T7_delay); } |