Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163937
b: refs/heads/master
c: ff846ab
h: refs/heads/master
i:
  163935: 6a57a17
v: v3
  • Loading branch information
Maarten Maathuis authored and Dave Airlie committed Aug 30, 2009
1 parent 721ec86 commit a5cbcea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f380ef86916904e4b79f7bec599deb51057b2d0c
refs/heads/master: ff846ab7f76ffecba4f0bef026163d2a2364d7d0
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,10 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
if (new_encoder != connector->encoder) {
DRM_DEBUG_KMS("encoder changed, full mode switch\n");
mode_changed = true;
/* If the encoder is reused for another connector, then
* the appropriate crtc will be set later.
*/
connector->encoder->crtc = NULL;
connector->encoder = new_encoder;
}
}
Expand Down

0 comments on commit a5cbcea

Please sign in to comment.