diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2019-09-26 16:55:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-18 14:36:17 -0500 |
commit | 97f6c91787d9fc5c468bac398f11685179f64e8a (patch) | |
tree | 1dd8ef7a815eea3641e20bb9c2890f812fa31348 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | c28f91dc5e4d640be5dc737c50bd46fc0afa1ab4 (diff) |
drm/amd/display: Add display only once.
[Why]
We call add display multiple times because DESIRED->ENABLED cannot
happen instantaneously. We can't compare the new_state/old_state to
avoid this because on unplug we set the state to DESIRED and on hotplug
the state will still be DESIRED.
[How]
Add a flag to dm_connector_state to keep track of when to enable or
disable HDCP
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions