summaryrefslogtreecommitdiff
path: root/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-06-02 13:05:41 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 13:47:51 -0400
commit76af5c249fa438d8466b7e7dbda318da8f829eac (patch)
tree7a013b36fa601f853a8aff057ba198d67ba580a5 /amdgpu/amdgpu.h
parent646f5411cf36413c903eb6db48b5e7febd893ec5 (diff)
downloadlibdrm-76af5c249fa438d8466b7e7dbda318da8f829eac.tar.gz
libdrm-76af5c249fa438d8466b7e7dbda318da8f829eac.tar.bz2
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 {
/** Special flags */
uint64_t flags;
- /** Handle of command buffer */
- amdgpu_bo_handle bo_handle;
+ /** Virtual MC address of the command buffer */
+ uint64_t ib_mc_address;
/**
* Size of Command Buffer to be submitted.
@@ -293,9 +293,6 @@ struct amdgpu_cs_ib_info {
* - Could be 0
*/
uint32_t size;
-
- /** Offset in the IB buffer object (in unit of dwords) */
- uint32_t offset_dw;
};
/**