OSDN Git Service

drm/amdgpu: use runpm flag rather than fbcon for kfd runtime suspend (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2021 14:29:08 +0000 (09:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:30:07 +0000 (15:30 -0500)
commitad887af9b6d0d5d7866a3953563fb0fee7556ea8
tree2d91cf57b77a353291305cbdfc5d04b06f8c7ad1
parenta8d3d80a8ca3df47a846937809fc1e1d8e8fbce2
drm/amdgpu: use runpm flag rather than fbcon for kfd runtime suspend (v2)

the flag used by kfd is not actually related to fbcon, it just happens
to align.  Use the runpm flag instead so that we can decouple it from
the fbcon flag.

v2: fix resume as well

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c