[PATCH] gpu/drm/radeon: Do not evict VRAM with disabled HIBERNATE

Paul Menzel pmenzel+amd-gfx at molgen.mpg.de
Wed Jul 25 09:34:57 UTC 2018


Dear Christian,


On 07/25/18 10:34, Christian König wrote:
> Am 25.07.2018 um 00:15 schrieb Paul Menzel:
>> From: Paul Menzel <pmenzel at molgen.mpg.de>
>> Date: Wed, 18 Jul 2018 18:15:44 +0200
>>
>> 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).
>>
>> Link: https://bugs.freedesktop.org/show_bug.cgi?id=107277
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Paul Menzel <pmenzel at molgen.mpg.de>
> 
> At least a step into the right direction.

There is also the *nohibernate* keyword for the Linux command line.

> nohibernate     [HIBERNATION] Disable hibernation and resume.

I need to investigate, if that can be considered too.

> Patch is Reviewed-by: Christian König <christian.koenig at amd.com>, but we
> are also going to need one for amdgpu.

Indeed. I can prepare that too.


Kind regards,

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5174 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180725/519fe2e7/attachment.bin>


More information about the amd-gfx mailing list