aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-10-09 08:48:10 +0000
committerMatthew Auld <[email protected]>2024-10-10 08:15:59 +0000
commita187c1b0a800565a4db6372268692aff99df7f53 (patch)
treebe1ec662e5def7a481d614a0c3cc1272f818fe5b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/xe: fix unbalanced rpm put() with fence_fini() (diff)
downloadkernel-a187c1b0a800565a4db6372268692aff99df7f53.tar.gz
kernel-a187c1b0a800565a4db6372268692aff99df7f53.zip
drm/xe: fix unbalanced rpm put() with declare_wedged()
Technically the or_reset() means we call the action on failure, however that would lead to unbalanced rpm put(). Move the get() earlier to fix this. It should be extremely unlikely to ever trigger this in practice. Fixes: 452bca0edbd0 ("drm/xe: Don't suspend device upon wedge") Signed-off-by: Matthew Auld <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Nirmoy Das <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions