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>
This commit is contained in:
@@ -672,20 +672,6 @@ struct vram_usagebyfirmware_v2_1
|
||||
uint16_t used_by_driver_in_kb;
|
||||
};
|
||||
|
||||
/* This is part of vram_usagebyfirmware_v2_1 */
|
||||
struct vram_reserve_block
|
||||
{
|
||||
uint32_t start_address_in_kb;
|
||||
uint16_t used_by_firmware_in_kb;
|
||||
uint16_t used_by_driver_in_kb;
|
||||
};
|
||||
|
||||
/* Definitions for constance */
|
||||
enum atomfirmware_internal_constants
|
||||
{
|
||||
ONE_KiB = 0x400,
|
||||
ONE_MiB = 0x100000,
|
||||
};
|
||||
|
||||
/*
|
||||
***************************************************************************
|
||||
|
Reference in New Issue
Block a user