aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJuston Li <[email protected]>2021-08-19 11:48:33 -0700
committerAnshuman Gupta <[email protected]>2021-09-09 13:08:22 +0530
commit58cfa3297aa0779e18b7cbb5e6c6301f97c5f776 (patch)
treecf3ef9c0ac596ff5cbe907f90f33477c29a45d4f /tools/perf/scripts/python/mem-phys-addr.py
parentddb8cd4eee01049f34194affaf7d027bfa400e2c (diff)
drm/i915/hdcp: update cp_irq_count_cached in intel_dp_hdcp2_read_msg()
Update cp_irq_count_cached when reading messages rather than when writing a message to make sure the value is up to date and not stale from a previously handled CP_IRQ. AKE flow doesn't always respond to a read with a ACK write msg. E.g. AKE_Send_Pairing_Info will "timeout" because we received a CP_IRQ for reading AKE_Send_H_Prime but no write occurred between that and reading AKE_Send_Pairing_Info so cp_irq_count_cached is stale causing the wait to return right away rather than waiting for a new CP_IRQ. Signed-off-by: Juston Li <[email protected]> Acked-by: Anshuman Gupta <[email protected]> Reviewed-by: Ramalingam C <[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