summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-03-31 17:37:00 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-04-13 11:17:59 -0400
commit49ecb10e01c68b05dcb73005a54430c15caa05d0 (patch)
treec9dc7e1118cfebfd49de26ee60b8849b84d75211 /drivers/gpu/drm/radeon/radeon.h
parentc6a1fc725a847b75be9bd0d1e91d0e1c529ad93f (diff)
downloadop-kernel-dev-49ecb10e01c68b05dcb73005a54430c15caa05d0.zip
op-kernel-dev-49ecb10e01c68b05dcb73005a54430c15caa05d0.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 73a6432..d2abe48 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -507,7 +507,7 @@ struct radeon_bo {
pid_t pid;
struct radeon_mn *mn;
- struct interval_tree_node mn_it;
+ struct list_head mn_list;
};
#define gem_to_radeon_bo(gobj) container_of((gobj), struct radeon_bo, gem_base)
OpenPOWER on IntegriCloud