aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
diff options
context:
space:
mode:
authorShuicheng Lin <[email protected]>2025-05-07 02:23:02 +0000
committerRodrigo Vivi <[email protected]>2025-05-07 19:29:59 +0000
commit432cd94efdca06296cc5e76d673546f58aa90ee1 (patch)
tree3e2dcba126e3735b9d8ba7f14c0543ba5500a1df /drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
parentdrm/xe: Add config control for svm flush work (diff)
downloadkernel-432cd94efdca06296cc5e76d673546f58aa90ee1.tar.gz
kernel-432cd94efdca06296cc5e76d673546f58aa90ee1.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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c')
0 files changed, 0 insertions, 0 deletions