mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge 5cf1bae57a on remote branch
Change-Id: Iab11544a7850ec5a73b9d6702e239d0c9320f751
This commit is contained in:
commit
0abe1c0fdd
1 changed files with 4 additions and 1 deletions
|
|
@ -141,7 +141,10 @@ void sde_encoder_uidle_enable(struct drm_encoder *drm_enc, bool enable)
|
|||
for (i = 0; i < sde_enc->num_phys_encs; i++) {
|
||||
struct sde_encoder_phys *phys = sde_enc->phys_encs[i];
|
||||
|
||||
if (phys && phys->hw_ctl && phys->hw_ctl->ops.uidle_enable) {
|
||||
if (phys && phys->hw_ctl && phys->hw_ctl->ops.uidle_enable &&
|
||||
phys->split_role != ENC_ROLE_SLAVE) {
|
||||
if (enable)
|
||||
SDE_EVT32(DRMID(drm_enc), enable);
|
||||
phys->hw_ctl->ops.uidle_enable(phys->hw_ctl, enable);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue