disp: msm: hdcp: abort queued tasks while processing PM suspend
During suspend, there might be a chance that lib auth work is queued but not yet started. So during pm cycle it might start execution before host_init which can lead to noc error while accessing dp_aux registers. To prevent that set abort flag to abort lib auth work and set interrupts before host_deinit. Change-Id: Ie2c3ac9b0846644d3c2b37f410c341659b030c16 Signed-off-by: Rajat Gupta <rajatgu@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2012, 2014-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012, 2014-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __SDE_HDCP_H__
|
||||
@@ -81,6 +81,7 @@ struct sde_hdcp_ops {
|
||||
bool (*feature_supported)(void *input);
|
||||
void (*force_encryption)(void *input, bool enable);
|
||||
bool (*sink_support)(void *input);
|
||||
void (*abort)(void *input, bool abort);
|
||||
int (*set_mode)(void *input, bool mst_enabled);
|
||||
int (*on)(void *input);
|
||||
void (*off)(void *hdcp_ctrl);
|
||||
|
新增問題並參考
封鎖使用者