]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: handle all fragment sizes v4
authorRoger He <Hongbo.He@amd.com>
Wed, 30 Aug 2017 05:01:19 +0000 (13:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 16:49:32 +0000 (12:49 -0400)
commit09a238d46f504ed1752100b1aad640acea77fd8e
tree2401a9f580a77eb6c28ec97b79e81ea5f1208076
parente55550aeba7a6952990ae82af517586002f0eef4
drm/amdgpu: handle all fragment sizes v4

This can improve performance for some cases.

v2 (chk): handle all sizes, simplify the patch quite a bit
v3 (chk): adjust dw estimation as well
v4 (chk): use single loop, make end mask 64bit

Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Roger He <Hongbo.He@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c