diff options
| author | Matt Roper <matthew.d.roper@intel.com> | 2025-11-18 08:43:53 -0800 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2025-11-19 11:58:57 -0800 |
| commit | 1fe7ea3287ba35b92db7f8fecf773a6bc9273f51 (patch) | |
| tree | b987b1a99a12eba6e50dac7c853367b1314ce9e7 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | b11f88699b13d7b6e314b9d19107aebdc79570f0 (diff) | |
drm/xe: Return forcewake reference type from force_wake_get_any_engine()
Adjust the signature of force_wake_get_any_engine() such that it returns
a 'struct xe_force_wake_ref' rather than a boolean success/failure.
Failure cases are now recognized by inspecting the hardware engine
returned by reference; a NULL hwe indicates that no engine's forcewake
could be obtained.
These changes will make it cleaner and easier to incorporate scope-based
cleanup in force_wake_get_any_engine()'s caller in a future patch.
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20251118164338.3572146-43-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
