diff options
author | Chiawen Huang <chiawen.huang@amd.com> | 2018-09-05 15:34:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-14 23:47:56 +0300 |
commit | 16f4c69549ef676bc278be8b267a811b6f8f59ad (patch) | |
tree | e5f8aaab544f2b3fae8b509d7286199ddfeb68b8 /drivers/gpu/drm/amd/display/dc/dc_link.h | |
parent | cac7643a27ff15a3be2bf375fe7abd4cced228c3 (diff) | |
download | linux-16f4c69549ef676bc278be8b267a811b6f8f59ad.tar.xz |
drm/amd/display: add query HPD interface.
[Why]
current dc_link_detect function is not only detection but also update some link data.
[How]
added a pure get HPD state function.
Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_link.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_link.h b/drivers/gpu/drm/amd/display/dc/dc_link.h index d43cefbc43d3..438fb35d87b8 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_link.h +++ b/drivers/gpu/drm/amd/display/dc/dc_link.h @@ -167,6 +167,7 @@ enum dc_detect_reason { }; bool dc_link_detect(struct dc_link *dc_link, enum dc_detect_reason reason); +bool dc_link_get_hpd_state(struct dc_link *dc_link); /* Notify DC about DP RX Interrupt (aka Short Pulse Interrupt). * Return: |