Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199667
b: refs/heads/master
c: 1ae1ddd
h: refs/heads/master
i:
  199665: 4a6a85b
  199663: 70678f5
v: v3
  • Loading branch information
Jakob Bornecrantz authored and Dave Airlie committed May 31, 2010
1 parent c386d39 commit beed728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1925d4565888eb313cc923372da6a08bbfb3a859
refs/heads/master: 1ae1ddd5e99bbc067414ff571ac18d4312b4c8cf
10 changes: 3 additions & 7 deletions trunk/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,22 +456,18 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit)
encoder = &ldu->base.encoder;
connector = &ldu->base.connector;

INIT_LIST_HEAD(&ldu->active);

drm_connector_init(dev, connector, &vmw_legacy_connector_funcs,
DRM_MODE_CONNECTOR_LVDS);
/* Initial status */
if (unit == 0)
connector->status = connector_status_connected;
else
connector->status = connector_status_disconnected;
connector->status = vmw_ldu_connector_detect(connector);

drm_encoder_init(dev, encoder, &vmw_legacy_encoder_funcs,
DRM_MODE_ENCODER_LVDS);
drm_mode_connector_attach_encoder(connector, encoder);
encoder->possible_crtcs = (1 << unit);
encoder->possible_clones = 0;

INIT_LIST_HEAD(&ldu->active);

drm_crtc_init(dev, crtc, &vmw_legacy_crtc_funcs);

drm_connector_attach_property(connector,
Expand Down

0 comments on commit beed728

Please sign in to comment.