aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorYuanShang <[email protected]>2025-07-23 08:44:49 +0000
committerAlex Deucher <[email protected]>2025-08-04 19:41:09 +0000
commitc00d8b79fd2167c6ac65e096619535acdf8678d5 (patch)
tree18c9e3fdce375db7f1c63da743ce5d5ddc8f42d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parentdrm/amd/display: Fix DCE 6.0 and 6.4 PLL programming. (diff)
downloadkernel-c00d8b79fd2167c6ac65e096619535acdf8678d5.tar.gz
kernel-c00d8b79fd2167c6ac65e096619535acdf8678d5.zip
drm/amdgpu: Retain job->vm in amdgpu_job_prepare_job
The field job->vm is used in function amdgpu_job_run to get the page table re-generation counter and decide whether the job should be skipped. Specifically, function amdgpu_vm_generation checks if the VM is valid for this job to use. For instance, if a gfx job depends on a cancelled sdma job from entity vm->delayed, then the gfx job should be skipped. Fixes: 26c95e838e63 ("drm/amdgpu: set the VM pointer to NULL in amdgpu_job_prepare") Signed-off-by: YuanShang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit ed76936c6b10b547c6df4ca75412331e9ef6d339) Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions