summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Wang <Qingqing.Wang@amd.com>2015-06-03 17:23:37 +0800
committerKen Wang <Qingqing.Wang@amd.com>2015-06-04 21:08:52 +0800
commit86251e56b01d05549e5995b57b901d6f612a169f (patch)
tree8482c95891d6ab37c46b2356f93b152602d61c24
parent3d56df845e33fa6bb84c7d42c714076269a72bf2 (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;