]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix a deadlock if previous GEM object allocation fails
authorxinhui pan <xinhui.pan@amd.com>
Tue, 31 Aug 2021 05:49:59 +0000 (13:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Aug 2021 18:20:08 +0000 (14:20 -0400)
commite6dbadf4aa2f3101b3a849c36854ecf8ce3f1d7a
tree86eb106eab5cbc693e7020b1ec45b76670843dbe
parent7fec8b5e6dc290bec0611f9f7bcd11d5ed2bb73a
drm/amdgpu: Fix a deadlock if previous GEM object allocation fails

Fall through to handle the error instead of return.

Fixes: 215a96431d040 ("drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs")
Cc: stable@vger.kernel.org
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c