amdgpu: add ib_start_alignment and ib_size_alignment for interface query
authorKen Wang <Qingqing.Wang@amd.com>
Wed, 3 Jun 2015 09:23:37 +0000 (17:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Aug 2015 17:47:50 +0000 (13:47 -0400)
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
include/drm/amdgpu_drm.h

index a18ad8f..9a811d2 100644 (file)
@@ -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;