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

@@ -267,6 +267,7 @@ struct sde_crtc_misr_info {
* for secure cases.
* @misr_enable_debugfs : boolean entry indicates misr enable/disable status
* from debugfs.
* @misr_reconfigure : boolean entry indicates misr reconfigure status
* @misr_frame_count : misr frame count provided by client
* @misr_data : store misr data before turning off the clocks.
* @idle_notify_work: delayed worker to notify idle timeout to user space
@@ -341,6 +342,7 @@ struct sde_crtc {
spinlock_t event_lock;
bool misr_enable_sui;
bool misr_enable_debugfs;
bool misr_reconfigure;
u32 misr_frame_count;
struct kthread_delayed_work idle_notify_work;