aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/atomfirmware.h
diff options
context:
space:
mode:
authorTianci.Yin <[email protected]>2019-12-16 07:17:01 +0000
committerAlex Deucher <[email protected]>2019-12-23 19:59:20 +0000
commit8d40002fee9eae7e3cedd286149d323afc4b3442 (patch)
tree5c5f904992c39ad0a684cffbbe336b6d4bf643d6 /drivers/gpu/drm/amd/include/atomfirmware.h
parentdrm/amdgpu: Remove unneeded variable 'ret' in navi10_ih.c (diff)
downloadkernel-8d40002fee9eae7e3cedd286149d323afc4b3442.tar.gz
kernel-8d40002fee9eae7e3cedd286149d323afc4b3442.zip
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 <[email protected]> Signed-off-by: Tianci.Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atomfirmware.h')
-rw-r--r--drivers/gpu/drm/amd/include/atomfirmware.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index dd7cbc00a0aa..70146518174c 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -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,
-};
/*
***************************************************************************