diff options
author | Christian König <christian.koenig@amd.com> | 2015-03-31 17:37:00 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-04-13 17:17:59 +0200 |
commit | 49ecb10e01c68b05dcb73005a54430c15caa05d0 (patch) | |
tree | c9dc7e1118cfebfd49de26ee60b8849b84d75211 /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon: add userptr config option (diff) | |
download | linux-49ecb10e01c68b05dcb73005a54430c15caa05d0.tar.xz linux-49ecb10e01c68b05dcb73005a54430c15caa05d0.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 73a6432da1a5..d2abe481954f 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) |