From 877444c9d2487f6b5261b8fd74ba4e87a87b2713 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Wed, 17 Oct 2018 17:32:10 -0700 Subject: drm/msm: configure AV mute before disabling encryption In current implementation, AV mute packet is sent after disabling the encryption. This can cause artifacts on the sink when re-authentication is going on. Send the AV mute packet to the sink before disabling encryption so that no visual artifacts are observed during re-authentication. Change-Id: Ifbe656691b3750a76fbd48a776ba660ebbe5f65a Signed-off-by: Abhinav Kumar --- include/linux/hdcp_qseecom.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/hdcp_qseecom.h b/include/linux/hdcp_qseecom.h index 11c2af725bb1..1ff11e4e33db 100644 --- a/include/linux/hdcp_qseecom.h +++ b/include/linux/hdcp_qseecom.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -133,6 +133,7 @@ struct hdcp_client_ops { int (*wakeup)(struct hdmi_hdcp_wakeup_data *data); void (*notify_lvl_change)(void *client_ctx, int min_lvl); void (*srm_cb)(void *client_ctx); + void (*mute_sink)(void *client_ctx); }; enum hdcp_device_type { -- cgit v1.2.3