summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
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;