diff options
| author | Juston Li <[email protected]> | 2021-08-19 11:48:35 -0700 |
|---|---|---|
| committer | Anshuman Gupta <[email protected]> | 2021-09-09 13:10:40 +0530 |
| commit | 3e31d057431a4638f891db303044f761809adb86 (patch) | |
| tree | 624652854eeb0c39ec83a4021ec96b2bb33af7e5 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 0f317ebb5f7cb2b1d9a538c9795962fabd6e180e (diff) | |
drm/i915/hdcp: reuse rx_info for mst stream type1 capability check
On some MST docking stations, rx_info can only be read after
RepeaterAuth_Send_ReceiverID_List and the RxStatus READY bit is set
otherwise the read will return -EIO.
This behavior causes the mst stream type1 capability test to fail to
read rx_info and determine if the topology supports type1 and fallback
to type0.
To fix this, check for type1 capability when we receive rx_info within
the AKE flow when we read RepeaterAuth_Send_ReceiverID_List instead
of an explicit read just for type1 capability checking.
This does require moving where we set stream_types to after
hdcp2_authenticate_sink() when we get rx_info but this occurs before we
do hdcp2_propagate_stream_management_info.
Also, legacy HDCP 2.0/2.1 are not type 1 capable either so check for
that as well.
Changes since v5:
- rename intel_set_stream_types() to intel_hdcp_prepare_streams()
(Anshuman)
Changes since v4:
- move topology_type1_capable to intel_digital_port and rename it as
hdcp_mst_type1_capable (Anshuman)
- make a helper function intel_set_stream_types() to set stream types
in hdcp2_authenticate_and_encrypt() (Anshuman)
- break on failure to set stream types and retry instead of returning
- remove no longer used declaration for streams_type1_capable()
Changes since v2:
- Remove no longer used variables in _intel_hdcp2_enable()
Signed-off-by: Juston Li <[email protected]>
Reviewed-by: Ramalingam C <[email protected]>
Reviewed-by: Anshuman Gupta <[email protected]>
Tested-by: Suraj K <[email protected]>
Signed-off-by: Anshuman Gupta <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions