Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232806
b: refs/heads/master
c: ede3ff5
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson committed Jan 31, 2011
1 parent c3a0169 commit 96444ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 9334ef755f060e251f3f395caeda1a58b6834ea3
refs/heads/master: ede3ff5204b0117d00609f4980df3b864cefe96f
9 changes: 6 additions & 3 deletions trunk/drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,14 +497,17 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)

crtc_funcs = set->crtc->helper_private;

if (!set->mode)
set->fb = NULL;

if (set->fb) {
DRM_DEBUG_KMS("[CRTC:%d] [FB:%d] #connectors=%d (x y) (%i %i)\n",
set->crtc->base.id, set->fb->base.id,
(int)set->num_connectors, set->x, set->y);
} else {
DRM_DEBUG_KMS("[CRTC:%d] [NOFB] #connectors=%d (x y) (%i %i)\n",
set->crtc->base.id, (int)set->num_connectors,
set->x, set->y);
DRM_DEBUG_KMS("[CRTC:%d] [NOFB]\n", set->crtc->base.id);
set->mode = NULL;
set->num_connectors = 0;
}

dev = set->crtc->dev;
Expand Down

0 comments on commit 96444ba

Please sign in to comment.