]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: fix userptr BO unpin bug v3
authormonk.liu <monk.liu@amd.com>
Tue, 5 May 2015 07:24:17 +0000 (09:24 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 9 Jun 2015 17:43:35 +0000 (13:43 -0400)
commit5566f412612436b0cecafbd4d09e6fd3dcb6ab00
tree37e7a67fbecf08c2a311f64cdf9960482777db68
parent8cd63e3f93a0233e02222133498841224271019b
drm/radeon: fix userptr BO unpin bug v3

[ Upstream commit db12973cd581d4e79f4aadd0960948f268d15af7 ]

Fixing a memory leak with userptrs.

v2: clean up the loop, use an iterator instead
v3: remove unused variable

Signed-off-by: monk.liu <monk.liu@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/radeon_ttm.c