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>
这个提交包含在:
@@ -704,9 +704,11 @@ int sde_kms_get_io_resources(struct sde_kms *kms, struct msm_io_res *io_res);
|
||||
/**
|
||||
* sde_kms_vm_trusted_resource_init - reserve/initialize the HW/SW resources
|
||||
* @sde_kms: poiner to sde_kms structure
|
||||
* @state: current update atomic commit state
|
||||
* return: 0 on success; error code otherwise
|
||||
*/
|
||||
int sde_kms_vm_trusted_resource_init(struct sde_kms *sde_kms);
|
||||
int sde_kms_vm_trusted_resource_init(struct sde_kms *sde_kms,
|
||||
struct drm_atomic_state *state);
|
||||
|
||||
/**
|
||||
* sde_kms_vm_trusted_resource_deinit - release the HW/SW resources
|
||||
|
在新工单中引用
屏蔽一个用户