]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Don't send warning when close drm obj if drm device has been unplug
authorXiaogang Chen <xiaogang.chen@amd.com>
Sat, 22 Nov 2025 22:49:22 +0000 (16:49 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:42 +0000 (13:56 -0500)
commit6b6de6266f4c0fb07e96c14f3da0126f7d11dc37
tree27c068359b3ca5a618fd6926f7f4bb3f38ebfa7c
parentd59e9d2d556ad7ce228200a2e804b57bb77b6c47
drm/amdgpu: Don't send warning when close drm obj if drm device has been unplug

During amdgpu_gem_object_close amdgpu driver cleans vm mapping for the closing
drm obj. If the correspondent adev has been unplug got error -ENODEV code. In
this case do not need send warning message.

Signed-off-by: Xiaogang Chen <xiaogang.chen@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c