diff options
| author | Lucas De Marchi <[email protected]> | 2025-07-10 20:33:48 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-07-14 20:20:03 +0000 |
| commit | fab2cc0c09fd4e6ebfa645af0914fd5917478e7f (patch) | |
| tree | 4c5143e940f79bfab937e5c217c0a9a7a94e6e09 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/xe: Count dwords before allocating (diff) | |
| download | kernel-fab2cc0c09fd4e6ebfa645af0914fd5917478e7f.tar.gz kernel-fab2cc0c09fd4e6ebfa645af0914fd5917478e7f.zip | |
drm/xe/gt: Extract emit_job_sync()
Both the nop and wa jobs are going through the same boiler plate calls
to emit the job with a timeout and handling error for both bb and job.
Extract emit_job_sync() so those functions create the bb, handling
possible errors and delegate the part about really emitting the job
and waiting for its completion.
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
