NV50: minor change
authorMaarten Maathuis <madman2003@gmail.com>
Tue, 24 Jun 2008 18:29:08 +0000 (20:29 +0200)
committerMaarten Maathuis <madman2003@gmail.com>
Tue, 24 Jun 2008 18:29:08 +0000 (20:29 +0200)
linux-core/nv50_connector.c
linux-core/nv50_sor.c

index d13622b..a13f8e5 100644 (file)
@@ -184,7 +184,7 @@ int nv50_connector_create(struct drm_device *dev, int bus, int i2c_index, int ty
        }
 
        /* some reasonable defaults */
-       if (type == CONNECTOR_DVI_D || type == CONNECTOR_LVDS)
+       if (type == CONNECTOR_DVI_D || type == CONNECTOR_DVI_I || type == CONNECTOR_LVDS)
                connector->scaling_mode = SCALE_FULLSCREEN;
        else
                connector->scaling_mode = SCALE_PANEL;
index 75909c8..fca9612 100644 (file)
@@ -83,8 +83,6 @@ static int nv50_sor_execute_mode(struct nv50_output *output, bool disconnect)
        if (desired_mode->flags & V_NVSYNC)
                mode_ctl |= NV50_SOR_MODE_CTRL_NVSYNC;
 
-       /* TODO: DPMS ?????? */
-
        OUT_MODE(NV50_SOR0_MODE_CTRL + offset, mode_ctl);
 
        return 0;