drm/amd/display: get socBB from VBIOS
authorJun Lei <Jun.Lei@amd.com>
Wed, 12 Feb 2020 16:29:06 +0000 (11:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:42 +0000 (17:52 -0400)
commit93669c8e480dca87235d8dcd364f47406b6129b3
treed674fc6cca22fb606c6e42ecabe2f9bf4b74e815
parente9462a32792c46d5ce25cb2eb37dd8f8241c8c08
drm/amd/display: get socBB from VBIOS

[why]
Some SOC BB paramters may vary per SKU, and it does
not make sense for driver to hardcode these values

[how]
Parse the values from VBIOS if available, and use
them if valid

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/dc_bios_types.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/include/bios_parser_types.h