diff options
author | Jammy Zhou | 2015-05-20 15:17:48 -0500 |
---|---|---|
committer | Alex Deucher | 2015-08-05 12:47:50 -0500 |
commit | 60e221c925e7ee81b9831b06ebd4ca54bea03deb (patch) | |
tree | ec0578c07d07d007f3429bfa21f4bb9d92aae4d5 /amdgpu/amdgpu.h | |
parent | 7c50f0d9847f855d6d008840931898f001faad8c (diff) | |
download | external-libgbm-60e221c925e7ee81b9831b06ebd4ca54bea03deb.tar.gz external-libgbm-60e221c925e7ee81b9831b06ebd4ca54bea03deb.tar.xz external-libgbm-60e221c925e7ee81b9831b06ebd4ca54bea03deb.zip |
amdgpu: add IB sharing support v2
A new 'offset' flag is added to the amdgpu_cs_ib_info structure,
which can be used to specify location of PM4 packets to execute
in the IB buffer object
v2: remove the shared IB flag, etc
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'amdgpu/amdgpu.h')
-rw-r--r-- | amdgpu/amdgpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h index 32bf30e7..c6161bd1 100644 --- a/amdgpu/amdgpu.h +++ b/amdgpu/amdgpu.h | |||
@@ -342,6 +342,9 @@ struct amdgpu_cs_ib_info { | |||
342 | * - Could be 0 | 342 | * - Could be 0 |
343 | */ | 343 | */ |
344 | uint32_t size; | 344 | uint32_t size; |
345 | |||
346 | /** Offset in the IB buffer object (in unit of dwords) */ | ||
347 | uint32_t offset_dw; | ||
345 | }; | 348 | }; |
346 | 349 | ||
347 | /** | 350 | /** |