]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 May 2015 15:00:15 +0000 (11:00 -0400)
commita38a673025140a308a8f78ed1a5b60431ca06df8
tree5c373fbc494101b320299d5f9fce475e5d7bbacc
parent89074aaa2a035588f3c97bb2a84150dc12a7eeb3
drm/radeon: fix userptr BO unpin bug v3

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>
drivers/gpu/drm/radeon/radeon_ttm.c