From: Alex Deucher Date: Mon, 12 Jun 2023 13:54:06 +0000 (-0400) Subject: Revert "drm/amd/display: fix dpms_off issue when disabling bios mode" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7f80a88dd370777b86ff583f036c558c58c9f84c;p=linux.git Revert "drm/amd/display: fix dpms_off issue when disabling bios mode" This reverts commit 58e67bb3c131da5ee14e4842b08e53f4888dce0a. This patch was reverted, but came back again as commit 58e67bb3c131 ("drm/amd/display: fix dpms_off issue when disabling bios mode") Revert it again as it breaks Asus G513QY / 6800M laptops. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2259 Cc: Rodrigo Siqueira Cc: Zhongwei Cc: Harry Wentland Cc: Mike Lothian Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index be72e03cdf92e..5d3d61faeb28e 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1296,7 +1296,7 @@ static void disable_vbios_mode_if_required( if (pix_clk_100hz != requested_pix_clk_100hz) { dc->link_srv->set_dpms_off(pipe); - pipe->stream->dpms_off = true; + pipe->stream->dpms_off = false; } } }