diff options
author | Mario Limonciello <[email protected]> | 2023-09-25 20:31:06 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-09-28 15:35:31 -0400 |
commit | 3657a1d5ac8f2072c5d838216d4394a039ca2a17 (patch) | |
tree | 7104bfd13d46132c3678a0612e8a51cecf074592 | |
parent | 90295cf73b6a3fe6c31f2f805a814ec2741e2499 (diff) |
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
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 22c0e035de81..5436d7a34014 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -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; |