disp: msm: sde: reconfigure misr based on user input

In current SDE driver when misr is enabled, for each commit in
encoder kickoff stage misr is configured for both lm and interface
misr blks. This can clear misr data before client could collect misr.
This change avoids misr data clear and configures misr based on
user input.

Change-Id: I85fc19c78afc6d01346219250c82f2ada824eb0d
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
Este commit está contenido en:
Narendra Muppalla
2020-07-13 14:54:27 -07:00
padre 5e96ba152b
commit 2c2a06abba
Se han modificado 4 ficheros con 14 adiciones y 0 borrados

Ver fichero

@@ -159,6 +159,7 @@ struct sde_encoder_ops {
* @rsc_state_init: boolean to indicate rsc config init
* @disp_info: local copy of msm_display_info struct
* @misr_enable: misr enable/disable status
* @misr_reconfigure: boolean entry indicates misr reconfigure status
* @misr_frame_count: misr frame count before start capturing the data
* @idle_pc_enabled: indicate if idle power collapse is enabled
* currently. This can be controlled by user-mode
@@ -226,6 +227,7 @@ struct sde_encoder_virt {
bool rsc_state_init;
struct msm_display_info disp_info;
bool misr_enable;
bool misr_reconfigure;
u32 misr_frame_count;
bool idle_pc_enabled;