diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-08-16 16:35:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-08-21 15:23:17 -0400 |
commit | 95f05a3a2e6895ecfd8b4f64b5d6c6cf0b6a3f4a (patch) | |
tree | f6b875fde2152b57b7ce73a247093125b5003929 /drivers | |
parent | e6f8d26ebbcf45ff964abf7d9d2430401638067c (diff) |
drm/amdgpu/display: disable eDP fast boot optimization on DCE8
Seems to cause blank screens.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106940
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 8 |
1 files changed, 7 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 5450d4d38e8a..215409eb9495 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 | |||
@@ -1588,7 +1588,13 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context) | |||
1588 | bool can_eDP_fast_boot_optimize = false; | 1588 | bool can_eDP_fast_boot_optimize = false; |
1589 | 1589 | ||
1590 | if (edp_link) { | 1590 | if (edp_link) { |
1591 | can_eDP_fast_boot_optimize = | 1591 | /* this seems to cause blank screens on DCE8 */ |
1592 | if ((dc->ctx->dce_version == DCE_VERSION_8_0) || | ||
1593 | (dc->ctx->dce_version == DCE_VERSION_8_1) || | ||
1594 | (dc->ctx->dce_version == DCE_VERSION_8_3)) | ||
1595 | can_eDP_fast_boot_optimize = false; | ||
1596 | else | ||
1597 | can_eDP_fast_boot_optimize = | ||
1592 | edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc); | 1598 | edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc); |
1593 | } | 1599 | } |
1594 | 1600 | ||