mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
drm/nvd0/disp: fix sor dpms typo, preventing dpms on in some situations
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
ffe2dee490
commit
26cfa81357
@ -780,7 +780,7 @@ nvd0_sor_dpms(struct drm_encoder *encoder, int mode)
|
||||
continue;
|
||||
|
||||
if (nv_partner != nv_encoder &&
|
||||
nv_partner->dcb->or == nv_encoder->or) {
|
||||
nv_partner->dcb->or == nv_encoder->dcb->or) {
|
||||
if (nv_partner->last_dpms == DRM_MODE_DPMS_ON)
|
||||
return;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user