]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: set the VM pointer to NULL in amdgpu_job_prepare
authorChristian König <christian.koenig@amd.com>
Thu, 12 Dec 2024 15:43:45 +0000 (16:43 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2024 17:39:07 +0000 (12:39 -0500)
commit26c95e838e6301b0230430ec2fadeabfcb07aeda
tree6af1f8e19b229ee022610b77d4b0036914527d02
parent57f812d171af4ba233d3ed7c94dfa5b8e92dcc04
drm/amdgpu: set the VM pointer to NULL in amdgpu_job_prepare

As soon as the prepare phase is completed the VM might be released,
better set it to NULL.

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_job.c