Ticket #11358: dpms_encoder_lock.diff
File dpms_encoder_lock.diff, 572 bytes (added by , 9 years ago) |
---|
-
src/add-ons/accelerants/radeon_hd/mode.cpp
diff --git a/src/add-ons/accelerants/radeon_hd/mode.cpp b/src/add-ons/accelerants/radeon_hd/mode.cpp index ec4fb04..c157081 100644
a b radeon_dpms_set_hook(int mode) 168 168 169 169 uint8 crtcID = 0; 170 170 171 if (gDisplay[crtcID]->attached) 171 encoder_output_lock(true); 172 if (gDisplay[crtcID]->attached) { 173 display_crtc_lock(crtcID, ATOM_ENABLE); 172 174 radeon_dpms_set(crtcID, mode); 175 display_crtc_lock(crtcID, ATOM_DISABLE); 176 } 177 encoder_output_lock(false); 173 178 } 174 179 175 180