drm/amdgpu: cleanup initializing gtt_size
authorChristian König <christian.koenig@amd.com>
Mon, 26 Jun 2017 09:37:49 +0000 (11:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:53 +0000 (11:05 -0400)
commit011d4bbea969268c013eaf6e39721d3181833711
tree91cf62eced392441a070c2ea19e21e6226a06b24
parent890419409a3aba2ca7185a824e47d8ded8df11a2
drm/amdgpu: cleanup initializing gtt_size

Stop spreading the code over all GMC generations.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.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