mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "disp: msm: dsi: change rule to initialize display in firmware"
This commit is contained in:
commit
f4e8bb8e3a
1 changed files with 2 additions and 1 deletions
|
|
@ -5925,7 +5925,8 @@ int dsi_display_dev_probe(struct platform_device *pdev)
|
|||
platform_set_drvdata(pdev, display);
|
||||
|
||||
/* 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) &&
|
||||
!display->trusted_vm_env) {
|
||||
if (!strcmp(display->display_type, "primary"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue