Displaying 2 results from an estimated 2 matches for "allow_dpms".
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...play.c b/src/drmmode_display.c
index 7c45d9c..a91741d 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -651,9 +651,6 @@ drmmode_output_dpms(xf86OutputPtr output, int mode)
drmmode_ptr drmmode = drmmode_output->drmmode;
int mode_id = -1, i;
- if (!NVPTR(output->scrn)->allow_dpms)
- return;
-
for (i = 0; i < koutput->count_props; i++) {
props = drmModeGetProperty(drmmode->fd, koutput->props[i]);
if (props && (props->flags && DRM_MODE_PROP_ENUM)) {
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 3908347..7149759 100644
--- a/src/n...
2010 Feb 09
1
[PATCH] Remove some UMS leftovers.
...* to reinitialise the video mode.
- *
- * We may wish to unmap video/MMIO memory too.
*/
/* Mandatory */
@@ -333,9 +331,6 @@ NVEnterVT(int scrnIndex, int flags)
if (ret)
ErrorF("Unable to get master: %d\n", ret);
- if (!pNv->NoAccel)
- NVAccelCommonInit(pScrn);
-
pNv->allow_dpms = FALSE;
if (!xf86SetDesiredModes(pScrn))
return FALSE;
@@ -350,8 +345,6 @@ NVEnterVT(int scrnIndex, int flags)
/*
* This is called when VT switching away from the X server. Its job is
* to restore the previous (text) mode.
- *
- * We may wish to remap video/MMIO memory too.
*/
/* M...