drm/radeon: allow creating overlapping userptrs
authorChristian König <christian.koenig@amd.com>
Tue, 31 Mar 2015 15:37:00 +0000 (17:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2015 15:17:59 +0000 (11:17 -0400)
commit49ecb10e01c68b05dcb73005a54430c15caa05d0
treec9dc7e1118cfebfd49de26ee60b8849b84d75211
parentc6a1fc725a847b75be9bd0d1e91d0e1c529ad93f
drm/radeon: allow creating overlapping userptrs

Similar to the Intel implementation, but instead of just falling back to a
global linear list when we have an overlapping userptr request we accumulate
all overlapping userptrs in a local list.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_mn.c