summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools/kcsan.rst
diff options
context:
space:
mode:
authorSuraj Kandpal <suraj.kandpal@intel.com>2024-09-27 11:34:37 +0530
committerSuraj Kandpal <suraj.kandpal@intel.com>2024-09-30 09:36:50 +0530
commit9d5a05f86d2f4f81abcac6abc856c0d511a8607b (patch)
treee72002b87f8485e531ce63da4bd66531838530a5 /Documentation/dev-tools/kcsan.rst
parent9572bdfeb1280fd1e5beb28e34e226a6bc851280 (diff)
drm/i915/hdcp: Retry first read and writes to downstream
Retry the first read and write to downstream at least 10 times with a 50ms delay if not hdcp2 capable(dock decides to stop advertising hdcp2 capability for some reason). The reason being that during suspend resume Dock usually keep the HDCP2 registers inaccesible causing AUX error. This wouldn't be a big problem if the userspace just kept retrying with some delay while it continues to play low values content but most userpace applications end up throwing an error when it receives one from KMD. This makes sure we give the dock and the sink devices to complete its power cycle and then try HDCP authentication. --v2 -Add more details in comment [Jani] -fix looping condition [Jani] -optimize loop exit condition [Jani] --v3 -Add comment explaining why the loop was added [Ankit] Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240927060437.1422942-2-suraj.kandpal@intel.com
Diffstat (limited to 'Documentation/dev-tools/kcsan.rst')
0 files changed, 0 insertions, 0 deletions