summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Wang <Qingqing.Wang@amd.com>2015-06-03 17:23:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-07-30 00:11:11 -0400
commit9a6ff36b419743e77c43e8d717ecceb39919c1ab (patch)
treecb70043fe5f1c048d756f6439d930352590cb2bc
parent03d2b6be375bb249dd73cd1fbb05518d7ca944d1 (diff)
amdgpu: add ib_start_alignment and ib_size_alignment for interface query
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
-rw-r--r--include/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index a18ad8f6..9a811d22 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -596,6 +596,10 @@ struct drm_amdgpu_info_hw_ip {
uint32_t hw_ip_version_minor;
/** Capabilities */
uint64_t capabilities_flags;
+ /** command buffer address start alignment*/
+ uint32_t ib_start_alignment;
+ /** command buffer size alignment*/
+ uint32_t ib_size_alignment;
/** Bitmask of available rings. Bit 0 means ring 0, etc. */
uint32_t available_rings;
uint32_t _pad;