diff options
| author | Wyatt Wood <[email protected]> | 2021-01-19 17:05:05 -0500 | 
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-19 22:38:42 -0400 | 
| commit | 980d6042c1dc0d934eec15f4bca6f55d332b82e8 (patch) | |
| tree | 6fec5963ac90d23fafade201c4be4f1b6c6208f1 /drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | |
| parent | 132c894e93f18cf3b943753063bb0fd6ca8483ac (diff) | |
drm/amd/display: Add get_current_time interface to dmub_srv
[Why]
Need to get current DMUB time.
[How]
Add get_current_time interface to dmub_srv.
v2: drop whitespace changes (Alex)
Signed-off-by: Wyatt Wood <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Stylon Wang <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c index ed9fa6138aa6..fa89ada1e313 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c @@ -159,6 +159,7 @@ static bool dmub_srv_hw_setup(struct dmub_srv *dmub, enum dmub_asic asic)  		funcs->get_fw_status = dmub_dcn20_get_fw_boot_status;  		funcs->enable_dmub_boot_options = dmub_dcn20_enable_dmub_boot_options;  		funcs->skip_dmub_panel_power_sequence = dmub_dcn20_skip_dmub_panel_power_sequence; +		funcs->get_current_time = dmub_dcn20_get_current_time;  		// Out mailbox register access functions for RN and above  		funcs->setup_out_mailbox = dmub_dcn20_setup_out_mailbox; |