radeon_hd: Pass dpms calls to encoders as well

This commit is contained in:
Alexander von Gluck IV 2012-02-25 15:06:18 -06:00
parent eaa6a6c40c
commit 64ff3d1891

View File

@ -147,8 +147,10 @@ radeon_dpms_mode(void)
void
radeon_dpms_set(int mode)
{
for (uint8 id = 0; id < MAX_DISPLAY; id++)
for (uint8 id = 0; id < MAX_DISPLAY; id++) {
encoder_dpms_set(id, mode);
display_crtc_dpms(id, mode);
}
gInfo->dpms_mode = mode;
}