disp: msm: sde: limit encoders attached to crtc during trusted-ui

Add checks to block transition to trusted-vm when multiple encoders
are attached to a crtc. This ensures, concurrent writeback is
disabled before trusted-ui usecase. Additionally, avoid enabling /
disabling the IRQs associated with the cwb encoder during all
the transitions to avoid any unbalanced calls.

Change-Id: I022077018ac9b7dfb62506cfaddcb60cb8b35ed8
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2020-10-12 21:43:21 -07:00
committad av Amine Najahi
förälder 303c324c43
incheckning a61f249398
2 ändrade filer med 54 tillägg och 20 borttagningar

Visa fil

@@ -8,6 +8,8 @@
#include "msm_drv.h"
#define TRUSTED_VM_MAX_ENCODER_PER_CRTC 1
struct sde_kms;
/**