OSDN Git Service

drm/amdgpu: remove VRAM size reduction v2
authorChristian König <christian.koenig@amd.com>
Thu, 16 Nov 2017 18:36:10 +0000 (19:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:58 +0000 (12:47 -0500)
commit3d647c8f930190f728c997c3ac3d987f992420ed
tree153150f40014206e92c8fc7988cb24349029aa57
parent4f42a2dd3d7ef106e6bd3e2ad61c55333150d896
drm/amdgpu: remove VRAM size reduction v2

Remove some outdated comments and all code which tries to reduce the VRAM size
mapped into the MC.

This is superfluous and misleading since we never actually program the size.

v2: handle gmc_v6_0.c as well

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_device.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