summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
diff options
context:
space:
mode:
authorWyatt Wood <wyatt.wood@amd.com>2021-01-19 17:05:05 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:38:42 -0400
commit980d6042c1dc0d934eec15f4bca6f55d332b82e8 (patch)
tree6fec5963ac90d23fafade201c4be4f1b6c6208f1 /drivers/gpu/drm/amd/display/dmub/dmub_srv.h
parent132c894e93f18cf3b943753063bb0fd6ca8483ac (diff)
downloadlinux-next-980d6042c1dc0d934eec15f4bca6f55d332b82e8.tar.gz
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 <wyatt.wood@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/dmub_srv.h')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/dmub_srv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
index 3ef6b536ccea..deff333e7437 100644
--- a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
+++ b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
@@ -323,6 +323,7 @@ struct dmub_srv_hw_funcs {
uint32_t (*get_gpint_response)(struct dmub_srv *dmub);
+ uint32_t (*get_current_time)(struct dmub_srv *dmub);
};
/**