OSDN Git Service

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)
commitcef8b03bbc0b727e1ef9e45d612a6487a7063205
tree34733b796a3eac1650e2d916c7d3cc78ddbca640
parentad887af9b6d0d5d7866a3953563fb0fee7556ea8
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