OSDN Git Service

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)
commit9081c4cf7d4ea40cf7e77e8efe3c2bedb924b830
tree8554dfd1c5845da8242b6e77b8aded221e3a2da7
parent84b5d3d10d6c7b8ff53e756217405a535691ff7d
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