]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dc43a56391244e636806b1be45712c5b70569fa
tree58dc5cb7a0287de36068dd3cfc6673a8b7a640fa
parentb511bd864a3d89536cf31d0566bc9b64e65c545d
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