AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Enable seamless boot more widely
@ 2023-09-13 17:14 Mario Limonciello
  2023-09-13 17:14 ` [PATCH v2 1/4] drm/amd: Drop special case for yellow carp without discovery Mario Limonciello
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mario Limonciello @ 2023-09-13 17:14 UTC (permalink / raw)
  To: amd-gfx; +Cc: alexander.deucher, harry.wentland, Mario Limonciello

Seamless boot allows keeping the content on the framebuffer from pre-boot
so the screen doesn't get "painted black" during boot process.

Ideally the flow looks like:
* UEFI F/W posts vendor logo
* GRUB doesn't show anything, but silently continues
* Plymouth starts and adds OS logo to bottom and spinner
* Simple DRM loads, no mode changes
* amdgpu loads, no mode changes
* Spinner keeps spinning
* GDM starts up

Previously this was only enabled on Van Gogh, but this series enables
the functionality more widely onto DCN3.0+.

This also introduces a kernel module parameter that to easily force it
enabled on other ASICs too, which may be useful to adjust policy.

Mario Limonciello (4):
  drm/amd: Drop special case for yellow carp without discovery
  drm/amd: Move seamless boot check out of display
  drm/amd: Add a module parameter for seamless boot
  drm/amd: Enable seamless boot by default on newer ASICs

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  2 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    | 28 +++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  8 ++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c       |  6 ----
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 23 +--------------
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |  2 --
 6 files changed, 39 insertions(+), 30 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-26  3:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 17:14 [PATCH v2 0/4] Enable seamless boot more widely Mario Limonciello
2023-09-13 17:14 ` [PATCH v2 1/4] drm/amd: Drop special case for yellow carp without discovery Mario Limonciello
2023-09-13 17:14 ` [PATCH v2 2/4] drm/amd: Move seamless boot check out of display Mario Limonciello
2023-09-13 17:14 ` [PATCH v2 3/4] drm/amd: Add a module parameter for seamless boot Mario Limonciello
2023-09-13 17:14 ` [PATCH v2 4/4] drm/amd: Enable seamless boot by default on newer ASICs Mario Limonciello
2023-09-13 17:44   ` Harry Wentland
2023-09-26  3:20   ` Xu, Feifei
2023-09-26  3:37     ` Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox