aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlessio Belle <[email protected]>2025-06-24 15:01:31 +0000
committerMatt Coster <[email protected]>2025-07-04 15:25:08 +0000
commit551507e0d0bf32ce1d7d27533c4b98307380804c (patch)
treeb7240cae1e7ffadcf5d03d943464947f86a0f43f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: add support of debugfs for mqd information (diff)
downloadkernel-551507e0d0bf32ce1d7d27533c4b98307380804c.tar.gz
kernel-551507e0d0bf32ce1d7d27533c4b98307380804c.zip
drm/imagination: Clear runtime PM errors while resetting the GPU
The runtime PM might be left in error state if one of the callbacks returned an error, e.g. if the (auto)suspend callback failed following a firmware crash. When that happens, any further attempt to acquire or release a power reference will then also fail, making it impossible to do anything else with the GPU. The driver logic will eventually reach the reset code. In pvr_power_reset(), replace pvr_power_get() with a new API pvr_power_get_clear() which also attempts to clear any runtime PM error state if acquiring a power reference is not possible. Signed-off-by: Alessio Belle <[email protected]> Reviewed-by: Matt Coster <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Coster <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions