mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
c28f91dc5e
commit
97f6c91787
@@ -483,6 +483,9 @@ struct dm_connector_state {
|
||||
uint8_t underscan_hborder;
|
||||
bool underscan_enable;
|
||||
bool freesync_capable;
|
||||
#ifdef CONFIG_DRM_AMD_DC_HDCP
|
||||
bool update_hdcp;
|
||||
#endif
|
||||
uint8_t abm_level;
|
||||
int vcpi_slots;
|
||||
uint64_t pbn;
|
||||
|
||||
Reference in New Issue
Block a user