]> 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)
commitc55e3f4b305939f8d49d3599639fd136b1dcc6f8
tree2401a9f580a77eb6c28ec97b79e81ea5f1208076
parentab5ef1dbd3409dd033da804e498516466cee8c25
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