OSDN Git Service

drm/amdgpu: don't evict vram on APUs for suspend to ram (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Mar 2021 04:20:46 +0000 (23:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Mar 2021 19:24:12 +0000 (15:24 -0400)
commite13d002bbf1d211cfe831ad2b2ae229a351eb196
tree34a02f336d306581c73752dd8362235001cf88f8
parent8914089a205be1042f99d49d2087663efc6fafa3
drm/amdgpu: don't evict vram on APUs for suspend to ram (v4)

Vram is system memory, so no need to evict.

v2: use PM_EVENT messages
v3: use correct dev
v4: use driver flags

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c