diff options
author | 2021-01-11 13:41:05 +0530 | |
---|---|---|
committer | 2021-01-13 08:29:31 +0530 | |
commit | 6c63e6e14da7f55114d7e9077e89dc9ab8adeebb (patch) | |
tree | 4cb92b2af9523dc6e910e55bf99e0e1c130c2688 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/hotplug: Handle CP_IRQ for DP-MST (diff) | |
download | wireguard-linux-6c63e6e14da7f55114d7e9077e89dc9ab8adeebb.tar.xz wireguard-linux-6c63e6e14da7f55114d7e9077e89dc9ab8adeebb.zip |
drm/i915/hdcp: No HDCP when encoder is't initialized
There can be situation when DP MST connector is created without
mst modeset being done, in those cases connector->encoder will be
NULL. MST connector->encoder initializes after modeset.
Don't enable HDCP in such cases to prevent any crash.
Cc: Ramalingam C <ramalingam.c@intel.com>
Cc: Juston Li <juston.li@intel.com>
Tested-by: Karthik B S <karthik.b.s@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111081120.28417-5-anshuman.gupta@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions