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:
@@ -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 */
|
||||
|
Referens i nytt ärende
Block a user