diff options
| author | Paul Menzel <[email protected]> | 2018-07-25 10:54:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:11:03 +0000 |
| commit | 2c1e9bca448ab3c49f0bfc687ae79b8123237f4d (patch) | |
| tree | 52f2aa946d7e9b545ee7f723ed7aedcf1896ab54 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amdgpu: add status checking after fw is loaded (diff) | |
| download | kernel-2c1e9bca448ab3c49f0bfc687ae79b8123237f4d.tar.gz kernel-2c1e9bca448ab3c49f0bfc687ae79b8123237f4d.zip | |
drm/amdgpu: Do not evict VRAM on APUs with disabled HIBERNATE
Improve commit d796d844 (drm/radeon/kms: make hibernate work on IGPs) to
only migrate VRAM objects if the Linux kernel is actually built with
support for hibernation (suspend to disk).
The better solution is to get the information, if this is suspend or
hibernate, from `amdgpu_device_suspend()`, but that’s more involved, so
apply the simple solution first.
Link: https://bugs.freedesktop.org/show_bug.cgi?id=107277
Signed-off-by: Paul Menzel <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions
