]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: add ib_size/start_alignment interface query
authorKen Wang <Qingqing.Wang@amd.com>
Thu, 4 Jun 2015 13:26:57 +0000 (21:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:04:03 +0000 (21:04 -0400)
commit71062f435eaf0ff7867a1188e5c7887b0a5871ff
treed3e7404f715e42408675e4a1aab996b053585253
parent02558a006c0cf92e612c9d6d1c6058ca1a6dbe6a
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h