diff options
author | Anthony Koo <Anthony.Koo@amd.com> | 2019-01-20 01:32:55 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-06 13:30:59 -0500 |
commit | ff582b61466f14d61f3a2a54c3d673d85bcb3c76 (patch) | |
tree | 40b73210fb2d2ebd5c0fbe83891a24af52c65965 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | a122b62d8ac484091c536ad04e1d0ea156ae6de7 (diff) |
drm/amd/display: add way to determine if link is active
[Why]
Need to understand whether link is active aside from stream state.
This could be used to check what links are enabled by GOP.
[How]
Store link_active state in link status and initialize it by checking
if the DIG is enabled.
Keep it updated on every link enable and disable
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions