disp: msm: dsi: change rule to initialize display in firmware
Request for display in firmware only if no display enabled form the UEFI. In the targets supporting dual DSI display having both displays DT nodes part of the connector list, if only one display is enabled from the UEFI, then the driver requests for display in firmware for the second display. Getting the display panel node from firmware is time taking process, and it can take up to ten seconds. This causes a delay in adding the component for the second display, resulting in a delay in bind calls for components of the msm drm driver. Change-Id: Ic0aa5ca890fc874d38d3e7eef745f2942e12f9bc Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
This commit is contained in:
committed by
Satya Rama Aditya Pinapala
parent
a40c87b676
commit
329b8bc7ee
@@ -5862,7 +5862,8 @@ int dsi_display_dev_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
/* initialize display in firmware callback */
|
||||
if (!boot_disp->boot_disp_en &&
|
||||
if (!(boot_displays[DSI_PRIMARY].boot_disp_en ||
|
||||
boot_displays[DSI_SECONDARY].boot_disp_en) &&
|
||||
IS_ENABLED(CONFIG_DSI_PARSER)) {
|
||||
if (!strcmp(display->display_type, "primary"))
|
||||
firm_req = !request_firmware_nowait(
|
||||
|
Reference in New Issue
Block a user