aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_connector.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-07-05 21:27:52 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-07-12 20:13:36 -0400
commit646bef2d20accc6ed696a98e38d5f2515b0ff35d (patch)
tree82c44391a9026ab9289864a2fef87714495c0f15 /drivers/gpu/drm/nouveau/nouveau_connector.c
parent1f403d9cca359531e16bc685ed5d619c77762004 (diff)
drm/nouveau: add scaler-only modes for eDP too
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
index 464b3dca94a4..c2fb15311b96 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -623,7 +623,8 @@ nouveau_connector_get_modes(struct drm_connector *connector)
623 ret = get_slave_funcs(nv_encoder)-> 623 ret = get_slave_funcs(nv_encoder)->
624 get_modes(to_drm_encoder(nv_encoder), connector); 624 get_modes(to_drm_encoder(nv_encoder), connector);
625 625
626 if (nv_encoder->dcb->type == OUTPUT_LVDS) 626 if (nv_connector->dcb->type == DCB_CONNECTOR_LVDS ||
627 nv_connector->dcb->type == DCB_CONNECTOR_eDP)
627 ret += nouveau_connector_scaler_modes_add(connector); 628 ret += nouveau_connector_scaler_modes_add(connector);
628 629
629 return ret; 630 return ret;