Set encoder dpms on dpms, it just feels right
This commit is contained in:
@@ -133,6 +133,7 @@ radeon_dpms_set(int mode)
|
||||
for (uint8 id = 0; id < MAX_DISPLAY; id++) {
|
||||
if (gDisplay[id]->active == false)
|
||||
continue;
|
||||
encoder_dpms_set(id, mode);
|
||||
display_crtc_lock(id, ATOM_ENABLE);
|
||||
display_crtc_power(id, ATOM_ENABLE);
|
||||
if (info.dceMajor >= 3)
|
||||
@@ -154,6 +155,7 @@ radeon_dpms_set(int mode)
|
||||
display_crtc_memreq(id, ATOM_DISABLE);
|
||||
display_crtc_power(id, ATOM_DISABLE);
|
||||
display_crtc_lock(id, ATOM_DISABLE);
|
||||
encoder_dpms_set(id, mode);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user