drm/amd/amdgpu: store fragment_size in vm_manager
authorRoger He <Hongbo.He@amd.com>
Fri, 11 Aug 2017 12:00:41 +0000 (20:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:46:08 +0000 (15:46 -0400)
commite618d306ded38dc9d37c04dc37e24bf9d62e9c7b
tree9373307774e178887e6723a13ecc0c1e9ac8b705
parent27c7b9aeecd7c06a3b527795807c19a0bbe25c1e
drm/amd/amdgpu: store fragment_size in vm_manager

adds fragment_size in the vm_manager structure and
implements hardware setup for it.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Roger He <Hongbo.He@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/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c