disp: msm: sde: add handoff implementation for color processing features
Add handoff implementation for color processing features when switching from primary VM to trusted VM. Change-Id: I9c3a168f70f3981e912bf37533f212880ab30924 Signed-off-by: Ping Li <pingli@codeaurora.org>
Este cometimento está contido em:

cometido por
Gerrit - the friendly Code Review server

ascendente
e24cd76a78
cometimento
98821c4384
@@ -3202,7 +3202,7 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
||||
struct drm_device *dev;
|
||||
struct sde_kms *sde_kms;
|
||||
struct sde_splash_display *splash_display;
|
||||
bool cont_splash_enabled = false;
|
||||
bool cont_splash_enabled = false, apply_cp_prop = false;
|
||||
size_t i;
|
||||
|
||||
if (!crtc) {
|
||||
@@ -3274,8 +3274,10 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
||||
cont_splash_enabled = true;
|
||||
}
|
||||
|
||||
apply_cp_prop = sde_kms->catalog->trusted_vm_env ?
|
||||
true : sde_crtc->enabled;
|
||||
if (sde_kms_is_cp_operation_allowed(sde_kms) &&
|
||||
(cont_splash_enabled || sde_crtc->enabled))
|
||||
(cont_splash_enabled || apply_cp_prop))
|
||||
sde_cp_crtc_apply_properties(crtc);
|
||||
|
||||
/*
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador