]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup VM shadow BO unreferencing
authorChristian König <christian.koenig@amd.com>
Fri, 16 Sep 2016 11:06:09 +0000 (13:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Sep 2016 20:16:21 +0000 (16:16 -0400)
commit00dfb87efe4bc9a9a6cdf1a532acf82dd1e4275b
tree2328c91d3c76e1761bc52a3c855bfb3de4d81206
parente7991d0534d58ab98cf44b4ed167b966c1c8b97f
drm/amdgpu: cleanup VM shadow BO unreferencing

Unreference the shadow BOs in the error path as well and drop the NULL checks.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c