Skip to content

Commit 207b18d

Browse files
Timur Kristófgregkh
authored andcommitted
drm/amd/display: Disable fastboot on DCE 6 too
[ Upstream commit 7495962 ] It already didn't work on DCE 8, so there is no reason to assume it would on DCE 6. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rodrigo Siqueira <siqueira@igalia.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1f9b3e7 commit 207b18d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,10 +1910,8 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
19101910

19111911
get_edp_streams(context, edp_streams, &edp_stream_num);
19121912

1913-
// Check fastboot support, disable on DCE8 because of blank screens
1914-
if (edp_num && edp_stream_num && dc->ctx->dce_version != DCE_VERSION_8_0 &&
1915-
dc->ctx->dce_version != DCE_VERSION_8_1 &&
1916-
dc->ctx->dce_version != DCE_VERSION_8_3) {
1913+
/* Check fastboot support, disable on DCE 6-8 because of blank screens */
1914+
if (edp_num && edp_stream_num && dc->ctx->dce_version < DCE_VERSION_10_0) {
19171915
for (i = 0; i < edp_num; i++) {
19181916
edp_link = edp_links[i];
19191917
if (edp_link != edp_streams[0]->link)

0 commit comments

Comments
 (0)