drm/amdgpu: use the new ring ib and dma frame size callbacks (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 15:02:34 +0000 (11:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:53:03 +0000 (15:53 -0400)
commit9a9db6ef7cf486f4849fe6bb8619009b5fd66399
tree58dc5cb7a0287de36068dd3cfc6673a8b7a640fa
parent58fafbaf166673f1a5724b42360d6b35610727aa
drm/amdgpu: use the new ring ib and dma frame size callbacks (v2)

Use them to more accurately determine the ring size required
for ib submission.

v2: drop extra alignment

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c