drm/amdgpu: update the method to get fb_loc of memory training(V4)
authorTianci.Yin <tianci.yin@amd.com>
Mon, 16 Dec 2019 07:17:01 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:59:20 +0000 (14:59 -0500)
commit8d40002fee9eae7e3cedd286149d323afc4b3442
tree5c5f904992c39ad0a684cffbbe336b6d4bf643d6
parent7eca40066f856884c673ff47790aa1282a8f9dde
drm/amdgpu: update the method to get fb_loc of memory training(V4)

The method of getting fb_loc changed from parsing VBIOS to
taking certain offset from top of VRAM

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
drivers/gpu/drm/amd/include/atomfirmware.h