diff options
| author | Shuicheng Lin <[email protected]> | 2025-05-07 02:23:02 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-05-08 19:44:51 +0000 |
| commit | 9d271a4f5ba52520e448ab223b1a91c6e35f17c7 (patch) | |
| tree | ab5e6da7545757534d0b95b1c04e718d0597f6b4 /net/unix/af_unix.c | |
| parent | drm/xe/gsc: do not flush the GSC worker from the reset path (diff) | |
| download | kernel-9d271a4f5ba52520e448ab223b1a91c6e35f17c7.tar.gz kernel-9d271a4f5ba52520e448ab223b1a91c6e35f17c7.zip | |
drm/xe: Release force wake first then runtime power
xe_force_wake_get() is dependent on xe_pm_runtime_get(), so for
the release path, xe_force_wake_put() should be called first then
xe_pm_runtime_put().
Combine the error path and normal path together with goto.
Fixes: 85d547608ef5 ("drm/xe/xe_gt_debugfs: Update handling of xe_force_wake_get return")
Cc: Himal Prasad Ghimiray <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Shuicheng Lin <[email protected]>
Reviewed-by: Himal Prasad Ghimiray <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
(cherry picked from commit 432cd94efdca06296cc5e76d673546f58aa90ee1)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
