diff options
| author | Christian König <christian.koenig@amd.com> | 2022-11-25 16:42:45 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-14 09:48:32 -0500 |
| commit | 5f3c40e9e2460c42f5bf6c51b1e393d7159241c3 (patch) | |
| tree | ca92535df7bb86c2bf8fb59b91a7721d4e37a570 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | |
| parent | drm/amdgpu: fix GDS/GWS/OA switch handling (diff) | |
| download | linux-5f3c40e9e2460c42f5bf6c51b1e393d7159241c3.tar.gz linux-5f3c40e9e2460c42f5bf6c51b1e393d7159241c3.zip | |
drm/amdgpu: cleanup SPM support a bit
This should probably not access job->vm and also emit the SPM switch
under the conditional execute.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h index 02e85b040baf..52f2e313ea17 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h @@ -54,6 +54,7 @@ struct amdgpu_job { uint32_t preemption_status; bool vm_needs_flush; bool gds_switch_needed; + bool spm_update_needed; uint64_t vm_pd_addr; unsigned vmid; unsigned pasid; |
