]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: reset runpm flag if device suspend fails
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2021 14:32:17 +0000 (09:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:30:13 +0000 (15:30 -0500)
commit3fbb0700c3a920d3673caf99eaa3106336b08729
tree34733b796a3eac1650e2d916c7d3cc78ddbca640
parent87c5fe6f302b241605b29e0393db0b782d59db00
drm/amdgpu: reset runpm flag if device suspend fails

If device suspend fails when we attempt to runtime suspend,
reset the runpm flag.

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