diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-11 13:41:05 +0530 |
---|---|---|
committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-13 08:29:31 +0530 |
commit | 6c63e6e14da7f55114d7e9077e89dc9ab8adeebb (patch) | |
tree | 4cb92b2af9523dc6e910e55bf99e0e1c130c2688 /drivers/gpu/drm/gma500 | |
parent | 0abd3acf8a3113132ebf860f6a596d99a5a70c28 (diff) |
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/gma500')
0 files changed, 0 insertions, 0 deletions