]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/pm: return an error during GPU reset or suspend (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Sun, 24 May 2020 06:46:53 +0000 (02:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 May 2020 17:52:16 +0000 (13:52 -0400)
commit9271dfd9e0f79e2969dcbe28568bce0fdc4f8f73
tree3f4b3ea540c17a8e68ad939553ea72f5a0abce4d
parent9ca1f474cea0edc14a1d7ec933e5472c0ff115d3
drm/amdgpu/pm: return an error during GPU reset or suspend (v2)

Return an error for sysfs and debugfs power interfaces during
gpu reset and suspend.  Prevents access to the hw while it may
be in an unusable state.

v2: squash in fix to drop suspend check

Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c