summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
diff options
context:
space:
mode:
authorIgor Kravchenko <Igor.Kravchenko@amd.com>2020-07-19 20:45:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-08-06 16:47:13 -0400
commit098214999c8f8eea8dffddb61be5742fac2c829e (patch)
tree2332f373bd99d347c54d5a1d449b4aa534ac6b93 /drivers/gpu/drm/amd/display/dc/dc_bios_types.h
parentc06f670f4701d3a19534eb7ca4f606b9771a94a3 (diff)
downloadlinux-stable-098214999c8f8eea8dffddb61be5742fac2c829e.tar.gz
linux-stable-098214999c8f8eea8dffddb61be5742fac2c829e.tar.bz2
linux-stable-098214999c8f8eea8dffddb61be5742fac2c829e.zip
drm/amd/display: Read VBIOS Golden Settings Tbl
[Why] For ver.4.4 and higher VBIOS contains default setting table. {How] Read Golden Settings Table from VBIOS, apply Aux tuning parameters. Signed-off-by: Igor Kravchenko <Igor.Kravchenko@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_bios_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_bios_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
index 845a3054f21f..d06d07042a12 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
@@ -133,6 +133,9 @@ struct dc_vbios_funcs {
uint16_t (*pack_data_tables)(
struct dc_bios *dcb,
void *dst);
+
+ enum bp_result (*get_atom_dc_golden_table)(
+ struct dc_bios *dcb);
};
struct bios_registers {
@@ -154,6 +157,7 @@ struct dc_bios {
struct dc_firmware_info fw_info;
bool fw_info_valid;
struct dc_vram_info vram_info;
+ struct dc_golden_table golden_table;
};
#endif /* DC_BIOS_TYPES_H */