summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlija Hadzic <ilijahadzic@gmail.com>2013-05-08 22:39:39 -0400
committerMichel Dänzer <michel@daenzer.net>2013-05-29 15:08:10 +0200
commite41ad30d09be4962cfb1942b0b9f63875dbb2d2a (patch)
treee5052cfc18273396c85403a77ec50ef2520c30d4
parent373671d2eed30e30b3bdee7e40426cf58c127234 (diff)
drmmode: remove dead code from drmmode_crtc_dpms
We are about to modify this function, so let's clean it up first. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--src/drmmode_display.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 5db58daa..658747c6 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -245,17 +245,8 @@ static void
drmmode_crtc_dpms(xf86CrtcPtr crtc, int mode)
{
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
-// drmmode_ptr drmmode = drmmode_crtc->drmmode;
drmmode_crtc->dpms_mode = mode;
-
-#if 0
- /* bonghits in the randr 1.2 - uses dpms to disable crtc - bad buzz */
- if (mode == DPMSModeOff) {
-// drmModeSetCrtc(drmmode->fd, drmmode_crtc->mode_crtc->crtc_id,
-// 0, 0, 0, NULL, 0, NULL);
- }
-#endif
}
static PixmapPtr