]> 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)
commit87c5fe6f302b241605b29e0393db0b782d59db00
tree2d91cf57b77a353291305cbdfc5d04b06f8c7ad1
parent182a21056f6f363ee84cec174ec0c35255f4536b
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