]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6da22a78611668bc573b54eb1bcd9d46161e918
treeb13029992c662926220fcf863b67fa75e0d45de5
parentea050449edb684ca0bc7428c79f5224ca626c02c
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