diff options
| author | Christian König <[email protected]> | 2022-09-29 11:05:56 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2022-11-03 11:45:20 +0000 |
| commit | 1b2d5eda5ad785d0dd13484141b78d2ac366c169 (patch) | |
| tree | 4c3f4885e4af7ef8c81f4593d4483676d0b81adc /drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | |
| parent | drm/amdgpu: cleanup scheduler job initialization v2 (diff) | |
| download | kernel-1b2d5eda5ad785d0dd13484141b78d2ac366c169.tar.gz kernel-1b2d5eda5ad785d0dd13484141b78d2ac366c169.zip | |
drm/amdgpu: move explicit sync check into the CS
This moves the memory allocation out of the critical code path.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Luben Tuikov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h index e2ecab977d0d..ef4bdde7c918 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h @@ -48,7 +48,7 @@ struct amdgpu_job { struct drm_sched_job base; struct amdgpu_vm *vm; struct amdgpu_sync sync; - struct amdgpu_sync sched_sync; + struct amdgpu_sync explicit_sync; struct dma_fence hw_fence; struct dma_fence *gang_submit; uint32_t preamble_status; |
