]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Disable fastboot on DCE 6 too
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 25 Aug 2025 21:56:29 +0000 (23:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Nov 2025 09:37:23 +0000 (10:37 +0100)
[ Upstream commit 7495962cbceb967e095233a5673ea71f3bcdee7e ]

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: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c

index 32fd6bdc18d73c11cef41a9c3c3a132812ee923c..537f5381146075eed7ebb862e4afa9b056058349 100644 (file)
@@ -1923,10 +1923,8 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
 
        get_edp_streams(context, edp_streams, &edp_stream_num);
 
-       // Check fastboot support, disable on DCE8 because of blank screens
-       if (edp_num && edp_stream_num && dc->ctx->dce_version != DCE_VERSION_8_0 &&
-                   dc->ctx->dce_version != DCE_VERSION_8_1 &&
-                   dc->ctx->dce_version != DCE_VERSION_8_3) {
+       /* Check fastboot support, disable on DCE 6-8 because of blank screens */
+       if (edp_num && edp_stream_num && dc->ctx->dce_version < DCE_VERSION_10_0) {
                for (i = 0; i < edp_num; i++) {
                        edp_link = edp_links[i];
                        if (edp_link != edp_streams[0]->link)