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>
这个提交包含在:
Akshay Ashtunkar
2022-02-28 16:18:41 +05:30
父节点 0384633caf
当前提交 9423445a34
修改 14 个文件,包含 328 行新增7 行删除

查看文件

@@ -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