diff options
| author | Matt Roper <matthew.d.roper@intel.com> | 2025-11-18 08:43:51 -0800 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2025-11-19 11:58:57 -0800 |
| commit | 7fc616a309e854f75bcc46e82b948065886ebddf (patch) | |
| tree | bf2c30b271046b2b3b4d28157b718300243c691d /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 89bba8fe925a9dc30b8fdcdd2316eb5b322c296d (diff) | |
drm/xe/devcoredump: Use scope-based cleanup
Use scope-based cleanup for forcewake and runtime PM in the devcoredump
code. This eliminates some goto-based error handling and slightly
simplifies other functions.
v2:
- Move the forcewake acquisition slightly higher in
devcoredump_snapshot() so that we maintain an easy-to-understand LIFO
cleanup order. (Gustavo)
Cc: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20251118164338.3572146-41-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
