drm/radeon: add extra check in radeon_ttm_tt_unpin_userptr
authorChristian König <christian.koenig@amd.com>
Tue, 31 Mar 2015 15:36:57 +0000 (17:36 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Apr 2015 14:03:29 +0000 (10:03 -0400)
commit863653fed0f449fb738295255cc834b271cfa088
tree655d4ce062c70dcc6dee18bd2d0fe3b99b24433a
parent91fd89660ba2e8ee59a587294fa9b17761691b05
drm/radeon: add extra check in radeon_ttm_tt_unpin_userptr

We somehow try to free the SG table twice.

Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=89734

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_ttm.c