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>
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

родитель
06f8bcc142
Коммит
52855c704a
@@ -314,6 +314,16 @@ struct sde_connector_ops {
|
||||
int (*get_default_lms)(void *display, u32 *num_lm);
|
||||
};
|
||||
|
||||
/**
|
||||
* enum sde_connector_display_type - list of display types
|
||||
*/
|
||||
enum sde_connector_display {
|
||||
SDE_CONNECTOR_UNDEFINED,
|
||||
SDE_CONNECTOR_PRIMARY,
|
||||
SDE_CONNECTOR_SECONDARY,
|
||||
SDE_CONNECTOR_MAX
|
||||
};
|
||||
|
||||
/**
|
||||
* enum sde_connector_events - list of recognized connector events
|
||||
*/
|
||||
|
Ссылка в новой задаче
Block a user