summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-24 20:29:08 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-24 20:29:08 +0200
commit5dbcb7551ff0b2c759f34ca85c30cfa95f33ba09 (patch)
tree3e33cf8eb6539ba631151ef594cd90a0ebc36b13 /linux-core
parent14522b3e1bd1129333af7f1a16a436a5f90388ea (diff)
NV50: minor change
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/nv50_connector.c2
-rw-r--r--linux-core/nv50_sor.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/linux-core/nv50_connector.c b/linux-core/nv50_connector.c
index d13622b7..a13f8e59 100644
--- a/linux-core/nv50_connector.c
+++ b/linux-core/nv50_connector.c
@@ -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;
diff --git a/linux-core/nv50_sor.c b/linux-core/nv50_sor.c
index 75909c82..fca9612f 100644
--- a/linux-core/nv50_sor.c
+++ b/linux-core/nv50_sor.c
@@ -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;