1
0

disp: msm: sde: dynamic lm reservation for secondary disp

Primary and secondary displays should have first priority
when reserving lms. Static reservation can potentially block
higher resolutions for the required displays. This patch gets
the layer mixer requirement for primary or secondary display
if available. It reserves those layer mixers dynamically
for the respective display when connector is registered.

Change-Id: Id69dac4c72d6b20008049f4aeb71c0f97d0a426b
Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
Este cometimento está contido em:
Nilaan Gunabalachandran
2019-05-02 12:06:25 -04:00
cometido por Gerrit - the friendly Code Review server
ascendente 06f8bcc142
cometimento 52855c704a
10 ficheiros modificados com 100 adições e 45 eliminações

Ver ficheiro

@@ -2347,9 +2347,9 @@ static int sde_kms_cont_splash_config(struct msm_kms *kms)
encoder = NULL;
continue;
}
SDE_DEBUG("info.is_connected = %s, info.is_primary = %s\n",
SDE_DEBUG("info.is_connected = %s, info.display_type = %d\n",
((info.is_connected) ? "true" : "false"),
((info.is_primary) ? "true" : "false"));
info.display_type);
if (!encoder) {
SDE_ERROR("encoder not initialized\n");