]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63f1031b6251ad9328853d56a4ff8868737d3fdf
tree2d91cf57b77a353291305cbdfc5d04b06f8c7ad1
parentc50b87a3d16703745dff27e98dc2ce7cbb70f3ae
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