drm/amdgpu: increase fragmentation size for Vega10 v2
authorChristian König <christian.koenig@amd.com>
Tue, 23 May 2017 16:35:22 +0000 (18:35 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2017 20:30:16 +0000 (16:30 -0400)
commit6be7adb37d9bd8af02e53feb72c35e9624165889
treeb13029992c662926220fcf863b67fa75e0d45de5
parent07306b4f5f7a8ba6a9de96420d3524dcc8698b00
drm/amdgpu: increase fragmentation size for Vega10 v2

The fragment bits work differently for Vega10 compared to previous generations.

Increase the fragment size to 2MB for now to better handle that.

v2: handle the hardware setup as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-tested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c