drm/amd: Limit seamless boot by default to APUs
Subsystems (2)
PATCH 1/1 drm/amd: Limit seamless boot by default to APUs
A hang is reported on DCN 3.2 with seamless boot enabled. As the benefits come from an eDP setup, limit it to only enabled by default with APUs.
Suggested-by [email protected]
Reported-by [email protected]
Closes https://lore.kernel.org/amd-gfx/[email protected]/T/#m2887e919d7c01b2a4860d2261b366d22e070f309 open here
Signed-off-by Mario Limonciello <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -0
@@ -1380,6 +1380,9 @@ bool amdgpu_device_seamless_boot_supported(struct amdgpu_device *adev)return false; } +if (!(adev->flags &AMD_IS_APU )) +return false; +if (adev->mman.keep_stolen_vga_memory)return false;
Signature · 1 line
2.34.1
[AMD Official Use Only - General]
Reviewed-by Alex Deucher <[email protected]>
________________________________
From: Limonciello, Mario <[email protected]>
Sent: Monday, September 25, 2023 9:44 PM
To: [email protected] <[email protected]>
Cc: Limonciello, Mario <[email protected]>; Deucher, Alexander <[email protected]>; Xu, Feifei <[email protected]>
Subject: [PATCH] drm/amd: Limit seamless boot by default to APUs
A hang is reported on DCN 3.2 with seamless boot enabled. As the benefits come from an eDP setup, limit it to only enabled by default with APUs.
Suggested-by [email protected]
Reported-by [email protected]
Closes https://lore.kernel.org/amd-gfx/[email protected]/T/#m2887e919d7c01b2a4860d2261b366d22e070f309 open here
Signed-off-by Mario Limonciello <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -0
@@ -1380,6 +1380,9 @@ bool amdgpu_device_seamless_boot_supported(struct amdgpu_device *adev)return false; } +if (!(adev->flags &AMD_IS_APU )) +return false; +if (adev->mman.keep_stolen_vga_memory)return false;
--
2.34.1