drm/amd/display: Don't set dpms_off for seamless boot
authorjsg <jsg@openbsd.org>
Fri, 20 Oct 2023 03:46:56 +0000 (03:46 +0000)
committerjsg <jsg@openbsd.org>
Fri, 20 Oct 2023 03:46:56 +0000 (03:46 +0000)
From Daniel Miess
f0410917561cb56f93ac8c502eb0ec94f25cafe9 in linux-6.1.y/6.1.59
23645bca98304a2772f0de96f97370dd567d0ae6 in mainline linux

sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c

index 16c05a2..15d3caf 100644 (file)
@@ -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;