diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2011-10-22 04:36:20 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-11-01 12:01:45 -0400 |
commit | 305151e36e3d5e0592580e6db3c5855a68f2bf6b (patch) | |
tree | 472610df156193a14828176e4de6838d41df5214 /drivers/gpu/drm/vmwgfx | |
parent | a7331e5cb2cc680ac30337cec5299956a8454ced (diff) |
vmwgfx: Use "Virtual" connectors and encoders rather than "LVDS".
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index 92f56bc594eb..bbfe38194910 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | |||
@@ -339,11 +339,11 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) | |||
339 | ldu->base.pref_mode = NULL; | 339 | ldu->base.pref_mode = NULL; |
340 | 340 | ||
341 | drm_connector_init(dev, connector, &vmw_legacy_connector_funcs, | 341 | drm_connector_init(dev, connector, &vmw_legacy_connector_funcs, |
342 | DRM_MODE_CONNECTOR_LVDS); | 342 | DRM_MODE_CONNECTOR_VIRTUAL); |
343 | connector->status = vmw_du_connector_detect(connector, true); | 343 | connector->status = vmw_du_connector_detect(connector, true); |
344 | 344 | ||
345 | drm_encoder_init(dev, encoder, &vmw_legacy_encoder_funcs, | 345 | drm_encoder_init(dev, encoder, &vmw_legacy_encoder_funcs, |
346 | DRM_MODE_ENCODER_LVDS); | 346 | DRM_MODE_ENCODER_VIRTUAL); |
347 | drm_mode_connector_attach_encoder(connector, encoder); | 347 | drm_mode_connector_attach_encoder(connector, encoder); |
348 | encoder->possible_crtcs = (1 << unit); | 348 | encoder->possible_crtcs = (1 << unit); |
349 | encoder->possible_clones = 0; | 349 | encoder->possible_clones = 0; |
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c index 477b2a9eb3c2..0660d3c6b826 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | |||
@@ -479,11 +479,11 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) | |||
479 | sou->base.pref_mode = NULL; | 479 | sou->base.pref_mode = NULL; |
480 | 480 | ||
481 | drm_connector_init(dev, connector, &vmw_legacy_connector_funcs, | 481 | drm_connector_init(dev, connector, &vmw_legacy_connector_funcs, |
482 | DRM_MODE_CONNECTOR_LVDS); | 482 | DRM_MODE_CONNECTOR_VIRTUAL); |
483 | connector->status = vmw_du_connector_detect(connector, true); | 483 | connector->status = vmw_du_connector_detect(connector, true); |
484 | 484 | ||
485 | drm_encoder_init(dev, encoder, &vmw_screen_object_encoder_funcs, | 485 | drm_encoder_init(dev, encoder, &vmw_screen_object_encoder_funcs, |
486 | DRM_MODE_ENCODER_LVDS); | 486 | DRM_MODE_ENCODER_VIRTUAL); |
487 | drm_mode_connector_attach_encoder(connector, encoder); | 487 | drm_mode_connector_attach_encoder(connector, encoder); |
488 | encoder->possible_crtcs = (1 << unit); | 488 | encoder->possible_crtcs = (1 << unit); |
489 | encoder->possible_clones = 0; | 489 | encoder->possible_clones = 0; |