]> 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)
commitea849107e58a421407c471f6cd2e650f581d6776
treeea9670b826aeafdf5deea96ec798b1f0e3726f32
parent58901c35bfed3bcaac628e91532cd8fcac0593a1
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