]> 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)
commit997230ab9f09a1e3718e009eeeef790fd5cdf605
tree34733b796a3eac1650e2d916c7d3cc78ddbca640
parent63f1031b6251ad9328853d56a4ff8868737d3fdf
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