diff options
| author | Christian König <[email protected]> | 2022-11-25 15:42:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-12-14 14:48:32 +0000 |
| commit | 5f3c40e9e2460c42f5bf6c51b1e393d7159241c3 (patch) | |
| tree | ca92535df7bb86c2bf8fb59b91a7721d4e37a570 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
| parent | drm/amdgpu: fix GDS/GWS/OA switch handling (diff) | |
| download | kernel-5f3c40e9e2460c42f5bf6c51b1e393d7159241c3.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index 01878145a586..6949dfec75d5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -315,6 +315,7 @@ static int amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, return r; job->vm_needs_flush = needs_flush; + job->spm_update_needed = true; return 0; } |
