summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/bios_parser_types.h
diff options
context:
space:
mode:
authorJun Lei <Jun.Lei@amd.com>2020-02-12 19:29:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-09-16 00:52:42 +0300
commit93669c8e480dca87235d8dcd364f47406b6129b3 (patch)
treed674fc6cca22fb606c6e42ecabe2f9bf4b74e815 /drivers/gpu/drm/amd/display/include/bios_parser_types.h
parente9462a32792c46d5ce25cb2eb37dd8f8241c8c08 (diff)
downloadlinux-93669c8e480dca87235d8dcd364f47406b6129b3.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/bios_parser_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/include/bios_parser_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/bios_parser_types.h b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
index 21011edea337..7c782924c941 100644
--- a/drivers/gpu/drm/amd/display/include/bios_parser_types.h
+++ b/drivers/gpu/drm/amd/display/include/bios_parser_types.h
@@ -318,4 +318,10 @@ struct bp_encoder_cap_info {
uint32_t RESERVED:27;
};
+struct bp_soc_bb_info {
+ uint32_t dram_clock_change_latency_100ns;
+ uint32_t dram_sr_exit_latency_100ns;
+ uint32_t dram_sr_enter_exit_latency_100ns;
+};
+
#endif /*__DAL_BIOS_PARSER_TYPES_H__ */