]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc6: use the vram location programmed by the vbios
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2016 17:15:29 +0000 (13:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:47 +0000 (11:05 -0400)
commit2004afdcc927e8fa731809d6f3dae5a7103198db
treeea9670b826aeafdf5deea96ec798b1f0e3726f32
parent91522a13b2b4e77ee7ef2ac75d74768698346450
drm/amdgpu/gmc6: use the vram location programmed by the vbios

This makes mc programming much simpler in future patches.

Since evergreen, the vbios has been programming the fb location
to the proper vram size.  The only reason to reprogram it would
be to change the location.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c