diff options
author | 2021-05-10 10:11:46 -0400 | |
---|---|---|
committer | 2021-05-27 12:25:35 -0400 | |
commit | f2973d2a418db94532a7f69c7ea404637cec1786 (patch) | |
tree | ed314f55b5d9eca6b4d36c7f3cf69f64e593f0ab /drivers/gpu/drm/amd/display/dmub/dmub_srv.h | |
parent | drm/amd/display: Fix potential memory leak in DMUB hw_init (diff) | |
download | wireguard-linux-f2973d2a418db94532a7f69c7ea404637cec1786.tar.xz wireguard-linux-f2973d2a418db94532a7f69c7ea404637cec1786.zip |
drm/amd/display: Implement INBOX0 usage in driver
[Why]
Start using INBOX0 for HW Lock command
[How]
- Implement initial interface for INBOX0 HW lock message
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 1 |
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 79ff68c13902..ed58abc5b3f9 100644 --- a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h +++ b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h @@ -324,6 +324,7 @@ struct dmub_srv_hw_funcs { uint32_t (*get_gpint_response)(struct dmub_srv *dmub); + void (*send_inbox0_cmd)(struct dmub_srv *dmub, union dmub_inbox0_data_register data); uint32_t (*get_current_time)(struct dmub_srv *dmub); }; |