aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák2015-06-02 06:05:41 -0500
committerAlex Deucher2015-08-05 12:47:51 -0500
commit76af5c249fa438d8466b7e7dbda318da8f829eac (patch)
tree7a013b36fa601f853a8aff057ba198d67ba580a5 /amdgpu/amdgpu.h
parent646f5411cf36413c903eb6db48b5e7febd893ec5 (diff)
downloadexternal-libdrm-76af5c249fa438d8466b7e7dbda318da8f829eac.tar.gz
external-libdrm-76af5c249fa438d8466b7e7dbda318da8f829eac.tar.xz
external-libdrm-76af5c249fa438d8466b7e7dbda318da8f829eac.zip
amdgpu: remove bo_handle from amdgpu_cs_ib_info, IBs should be in buffer list
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'amdgpu/amdgpu.h')
-rw-r--r--amdgpu/amdgpu.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index 451437da..70b488e3 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -283,8 +283,8 @@ struct amdgpu_cs_ib_info {
283 /** Special flags */ 283 /** Special flags */
284 uint64_t flags; 284 uint64_t flags;
285 285
286 /** Handle of command buffer */ 286 /** Virtual MC address of the command buffer */
287 amdgpu_bo_handle bo_handle; 287 uint64_t ib_mc_address;
288 288
289 /** 289 /**
290 * Size of Command Buffer to be submitted. 290 * Size of Command Buffer to be submitted.
@@ -293,9 +293,6 @@ struct amdgpu_cs_ib_info {
293 * - Could be 0 293 * - Could be 0
294 */ 294 */
295 uint32_t size; 295 uint32_t size;
296
297 /** Offset in the IB buffer object (in unit of dwords) */
298 uint32_t offset_dw;
299}; 296};
300 297
301/** 298/**