mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "disp: msm: sde: check for null topology in dither setup path"
This commit is contained in:
commit
5100a8e9e9
1 changed files with 3 additions and 2 deletions
|
|
@ -2550,8 +2550,9 @@ static void _sde_encoder_setup_dither(struct sde_encoder_phys *phys)
|
|||
return;
|
||||
|
||||
topology = sde_connector_get_topology_name(phys->connector);
|
||||
if ((topology == SDE_RM_TOPOLOGY_PPSPLIT) &&
|
||||
(phys->split_role == ENC_ROLE_SLAVE))
|
||||
if ((topology == SDE_RM_TOPOLOGY_NONE) ||
|
||||
((topology == SDE_RM_TOPOLOGY_PPSPLIT) &&
|
||||
(phys->split_role == ENC_ROLE_SLAVE)))
|
||||
return;
|
||||
|
||||
drm_enc = phys->parent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue