diff options
author | Ken Wang <Qingqing.Wang@amd.com> | 2015-06-04 21:26:57 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-03 21:04:03 -0400 |
commit | 71062f435eaf0ff7867a1188e5c7887b0a5871ff (patch) | |
tree | d3e7404f715e42408675e4a1aab996b053585253 /include/uapi/drm/amdgpu_drm.h | |
parent | 02558a006c0cf92e612c9d6d1c6058ca1a6dbe6a (diff) | |
download | linux-stable-71062f435eaf0ff7867a1188e5c7887b0a5871ff.tar.gz linux-stable-71062f435eaf0ff7867a1188e5c7887b0a5871ff.tar.bz2 linux-stable-71062f435eaf0ff7867a1188e5c7887b0a5871ff.zip |
drm/amdgpu: add ib_size/start_alignment interface query
Query the IB alignment requirements from the kernel rather
than hardcoding them in the user mode drivers.
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r-- | include/uapi/drm/amdgpu_drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index e24cc2e318df..3af5bd0e23a8 100644 --- a/include/uapi/drm/amdgpu_drm.h +++ b/include/uapi/drm/amdgpu_drm.h @@ -583,6 +583,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; |