diff options
author | Matthew Auld <[email protected]> | 2024-10-09 09:48:10 +0100 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-10-16 09:00:22 -0500 |
commit | 761f916af44279a99db4e78c5f5ee839b31107ea (patch) | |
tree | f4bb089608875a85d0ef0ea8f964d984c27fcfc2 /scripts/generate_rust_analyzer.py | |
parent | 03a86c24aea0920a1ca20a0d7771d5e176db538d (diff) |
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: 90936a0a4c54 ("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]
(cherry picked from commit a187c1b0a800565a4db6372268692aff99df7f53)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions