diff options
| author | YuanShang <YuanShang.Mao@amd.com> | 2025-07-23 16:44:49 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-04 14:31:34 -0400 |
| commit | ed76936c6b10b547c6df4ca75412331e9ef6d339 (patch) | |
| tree | bb0278ff7d9f827da048d65b8c96e3432e2c6f2a /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | cc51bbc7d7a7ff63de3e095e3681e78fe63ddda6 (diff) | |
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 <YuanShang.Mao@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_vcn.h')
0 files changed, 0 insertions, 0 deletions
