]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc8: use the vram location programmed by the vbios
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2016 17:08:33 +0000 (13:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:46 +0000 (11:05 -0400)
commitff7b7ab5cc77d4c03c927f2a7bdb737ba40fe3c4
tree8554dfd1c5845da8242b6e77b8aded221e3a2da7
parent4d056211a7046f4af95e2ee099ed11e8aa2f6712
drm/amdgpu/gmc8: 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_v8_0.c