aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index af2981190ae0..9c1113a96ae0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1247,28 +1247,29 @@ struct amdgpu_cs_chunk {
1247 uint32_t chunk_id; 1247 uint32_t chunk_id;
1248 uint32_t length_dw; 1248 uint32_t length_dw;
1249 uint32_t *kdata; 1249 uint32_t *kdata;
1250 void __user *user_ptr;
1251}; 1250};
1252 1251
1253struct amdgpu_cs_parser { 1252struct amdgpu_cs_parser {
1254 struct amdgpu_device *adev; 1253 struct amdgpu_device *adev;
1255 struct drm_file *filp; 1254 struct drm_file *filp;
1256 struct amdgpu_ctx *ctx; 1255 struct amdgpu_ctx *ctx;
1257 struct amdgpu_bo_list *bo_list; 1256
1258 /* chunks */ 1257 /* chunks */
1259 unsigned nchunks; 1258 unsigned nchunks;
1260 struct amdgpu_cs_chunk *chunks; 1259 struct amdgpu_cs_chunk *chunks;
1261 /* relocations */
1262 struct amdgpu_bo_list_entry vm_pd;
1263 struct list_head validated;
1264 struct fence *fence;
1265 uint64_t bytes_moved_threshold;
1266 uint64_t bytes_moved;
1267 1260
1268 struct amdgpu_ib *ibs; 1261 /* indirect buffers */
1269 uint32_t num_ibs; 1262 uint32_t num_ibs;
1263 struct amdgpu_ib *ibs;
1270 1264
1271 struct ww_acquire_ctx ticket; 1265 /* buffer objects */
1266 struct ww_acquire_ctx ticket;
1267 struct amdgpu_bo_list *bo_list;
1268 struct amdgpu_bo_list_entry vm_pd;
1269 struct list_head validated;
1270 struct fence *fence;
1271 uint64_t bytes_moved_threshold;
1272 uint64_t bytes_moved;
1272 1273
1273 /* user fence */ 1274 /* user fence */
1274 struct amdgpu_user_fence uf; 1275 struct amdgpu_user_fence uf;