aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-02-22 14:40:59 +0000
committerAlex Deucher <[email protected]>2016-03-08 16:01:45 +0000
commit211dff5518d938d0c11205af3113d2c7a292dd98 (patch)
treea91b56d59a40aa0eba333d45cb0ee35fa3ccd1eb /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: sync to the active user on reusing a VMID (diff)
downloadkernel-211dff5518d938d0c11205af3113d2c7a292dd98.tar.gz
kernel-211dff5518d938d0c11205af3113d2c7a292dd98.zip
drm/amdgpu: group userptr in the BO list v2
We need them together with the next patch. v2: Don't take bo reference twice Signed-off-by: Christian König <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 497ca587cc35..11a9f5899995 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1048,7 +1048,7 @@ struct amdgpu_bo_list {
struct amdgpu_bo *gds_obj;
struct amdgpu_bo *gws_obj;
struct amdgpu_bo *oa_obj;
- bool has_userptr;
+ unsigned first_userptr;
unsigned num_entries;
struct amdgpu_bo_list_entry *array;
};