disp: msm: sde: use drm mode set by user-mode in trusted-vm

Trusted-vm uses the cont-splash path to initialize the software
states by reading the hardware registers and populating the
SDE & DRM software states. But drm mode cannot be determined by
register reads, so rely on user-mode to get the mode which comes
as part of the first atomic_commit check phase which handles the
transition. The primary-vm user-mode passes the current mode to
trusted-vm through qrtr which is in-turn passed to driver to
set that particular mode.

Change-Id: I4fb86b40b8a0583c8edb539b0a51dcd33de731ff
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2020-10-19 16:08:16 -07:00
förälder b403c57119
incheckning e07097c244
6 ändrade filer med 83 tillägg och 21 borttagningar

Visa fil

@@ -121,7 +121,8 @@ struct msm_kms_funcs {
/* destroys debugfs */
void (*debugfs_destroy)(struct msm_kms *kms);
/* handle continuous splash */
int (*cont_splash_config)(struct msm_kms *kms);
int (*cont_splash_config)(struct msm_kms *kms,
struct drm_atomic_state *state);
/* check for continuous splash status */
bool (*check_for_splash)(struct msm_kms *kms);
/* topology lm information */