From: jsg Date: Fri, 20 Oct 2023 03:46:56 +0000 (+0000) Subject: drm/amd/display: Don't set dpms_off for seamless boot X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=946b22943ea7e5d8ff1d563ed983d6e3e8e396e8;p=openbsd drm/amd/display: Don't set dpms_off for seamless boot From Daniel Miess f0410917561cb56f93ac8c502eb0ec94f25cafe9 in linux-6.1.y/6.1.59 23645bca98304a2772f0de96f97370dd567d0ae6 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c index 16c05a24ac7..15d3caf3d6d 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c +++ b/sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c @@ -1183,6 +1183,9 @@ static void disable_vbios_mode_if_required( if (stream == NULL) continue; + if (stream->apply_seamless_boot_optimization) + continue; + // only looking for first odm pipe if (pipe->prev_odm_pipe) continue;