Revert "drm/amd/display: fix dpms_off issue when disabling bios mode"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Nov 2022 14:37:16 +0000 (09:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 15:31:30 +0000 (10:31 -0500)
This reverts commit 5aa663752ff6f844c6bfc97d89231e98884ae769.

This causes a blank screen on boot on an Asus G513QY / 6800M laptop.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2259
Cc: Aric Cyr <Aric.Cyr@amd.com>
Cc: Tom Chung <chiahsuan.chung@amd.com>
Cc: Zhongwei Zhang <Zhongwei.Zhang@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 4aec13f0d5caa0612336bbf3860f4cee4c4f5631..f9b8b6f6fd3118514e163345ebdb7d3e746ad39d 100644 (file)
@@ -1192,7 +1192,7 @@ static void disable_vbios_mode_if_required(
 
                                        if (pix_clk_100hz != requested_pix_clk_100hz) {
                                                core_link_disable_stream(pipe);
-                                               pipe->stream->dpms_off = true;
+                                               pipe->stream->dpms_off = false;
                                        }
                                }
                        }