drm/amdgpu: fix cleaning up reserved VMID on release
authorChristian König <christian.koenig@amd.com>
Fri, 13 Jan 2023 16:32:45 +0000 (17:32 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 21:11:51 +0000 (16:11 -0500)
commit4d3d5e6c078fe9234a814dfd643d6298542abb1b
treea9d0230ecad73020e0eed73907099e869cd966d9
parent8f453c51cfae92fded6e232985f6943c51b7829c
drm/amdgpu: fix cleaning up reserved VMID on release

We need to reset this or otherwise run into list corruption later on.

Fixes: e44a0fe630c5 ("drm/amdgpu: rework reserved VMID handling")
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Candice Li <candice.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c