disp: msm: sde: add custom event to notify OPR, MISR value change
This change collects the OPR, MISR values. If the values are different than the previous then notify to client with custom event. Change-Id: I2546439be1f665d90e6505d65283d28096bf7cdd Signed-off-by: Akshay Ashtunkar <quic_akshayaa@quicinc.com>
这个提交包含在:
@@ -1,5 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -268,6 +269,14 @@ struct sde_hw_dspp_ops {
|
||||
* @cfg: Pointer to configuration
|
||||
*/
|
||||
void (*setup_spr_pu_config)(struct sde_hw_dspp *ctx, void *cfg);
|
||||
|
||||
/**
|
||||
* read_spr_opr_value - function to read spr opr value
|
||||
* @ctx: Pointer to dspp context
|
||||
* @opr_value: Pointer to opr value
|
||||
*/
|
||||
int (*read_spr_opr_value)(struct sde_hw_dspp *ctx, u32 *opr_value);
|
||||
|
||||
/**
|
||||
* setup_demura_cfg - function to program demura cfg
|
||||
* @ctx: Pointer to dspp context
|
||||
|
在新工单中引用
屏蔽一个用户