mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "disp: msm: sde: fix invalid dual-display TVM restriction check"
This commit is contained in:
commit
783f3f8d88
1 changed files with 6 additions and 6 deletions
|
|
@ -4614,12 +4614,6 @@ int sde_kms_vm_trusted_resource_init(struct sde_kms *sde_kms)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (sde_kms->dsi_display_count != 1) {
|
||||
SDE_ERROR("no. of displays not supported:%d\n",
|
||||
sde_kms->dsi_display_count);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
dev = sde_kms->dev;
|
||||
priv = dev->dev_private;
|
||||
sde_kms->splash_data.type = SDE_VM_HANDOFF;
|
||||
|
|
@ -4638,6 +4632,12 @@ int sde_kms_vm_trusted_resource_init(struct sde_kms *sde_kms)
|
|||
dsi_display_set_active_state(display, true);
|
||||
}
|
||||
|
||||
if (sde_kms->splash_data.num_splash_displays != 1) {
|
||||
SDE_ERROR("no. of displays not supported:%d\n",
|
||||
sde_kms->splash_data.num_splash_displays);
|
||||
goto error;
|
||||
}
|
||||
|
||||
ret = sde_kms_cont_splash_config(&sde_kms->base);
|
||||
if (ret) {
|
||||
SDE_ERROR("error in setting handoff configs\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue