]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Do not evict VRAM on APUs with disabled HIBERNATE
authorPaul Menzel <pmenzel+amd-gfx@molgen.mpg.de>
Tue, 31 Jul 2018 16:48:41 +0000 (18:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:04 +0000 (11:11 -0500)
commit91b6352c46b75160d220a77cdd62d02d8840a9d6
tree9b6dca40341a56e083dae6126623a08834129b81
parent1dcf8391eab0446b1eb2fa8fee0e3e0e1825421d
drm/radeon: Do not evict VRAM on APUs with disabled HIBERNATE

Improve commit c263b9ba (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).

Link: https://bugs.freedesktop.org/show_bug.cgi?id=100941
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_object.c