drm/amdgpu: cleanup SPM support a bit
authorChristian König <christian.koenig@amd.com>
Fri, 25 Nov 2022 15:42:45 +0000 (16:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Dec 2022 14:48:32 +0000 (09:48 -0500)
commit5f3c40e9e2460c42f5bf6c51b1e393d7159241c3
treeca92535df7bb86c2bf8fb59b91a7721d4e37a570
parent56b0989e2939811c11ed9c449ff84cf85878ffe3
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c