]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc7: use the vram location programmed by the vbios
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Nov 2016 17:14:45 +0000 (13:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:47 +0000 (11:05 -0400)
commit91522a13b2b4e77ee7ef2ac75d74768698346450
tree1ac63aeb65050050cffbae44c3afa8e9ed4cab71
parent61901b5d9b5790dbabd5a5cd28333b275d36b83e
drm/amdgpu/gmc7: 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_v7_0.c