diff options
| author | Tejun Heo <[email protected]> | 2025-05-14 15:11:48 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2025-05-14 15:11:48 +0000 |
| commit | c4c286d747971c410739afc216972f1cc0923270 (patch) | |
| tree | 6b84b5cb4c1e727cb83c77a9a23a2e4757b1ed04 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | sched_ext: Add @sch to SCX_CALL_OP*() (diff) | |
| download | kernel-c4c286d747971c410739afc216972f1cc0923270.tar.gz kernel-c4c286d747971c410739afc216972f1cc0923270.zip | |
sched_ext: Cleanup [__]scx_exit/error*()
__scx_exit() is the base exit implementation and there are three wrappers on
top of it - scx_exit(), __scx_error() and scx_error(). This is more
confusing than helpful especially given that there are only a couple users
of scx_exit() and __scx_error(). To simplify the situation:
- Make __scx_exit() take va_list and rename it to scx_vexit(). This is to
ease implementing more complex extensions on top.
- Make scx_exit() a varargs wrapper around __scx_exit(). scx_exit() now
takes both @kind and @exit_code.
- Convert existing scx_exit() and __scx_error() users to use the new
scx_exit().
- scx_error() remains unchanged.
Signed-off-by: Tejun Heo <[email protected]>
Reviewed-by: Andrea Righi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
