Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269693
b: refs/heads/master
c: 84e2ad8
h: refs/heads/master
i:
  269691: 72608b1
v: v3
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent ec0b5e2 commit 8d7080e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: c20ab3e1cb0bb8e2c9a54a49b4637c61512ed856
refs/heads/master: 84e2ad8b7b0e9f089d0f2ac9b1c32105bffb8b33
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nvd0_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,11 @@ nvd0_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
int ret;

if (!crtc->fb) {
NV_DEBUG_KMS(crtc->dev, "No FB bound\n");
return 0;
}

ret = nvd0_crtc_swap_fbs(crtc, old_fb);
if (ret)
return ret;
Expand Down

0 comments on commit 8d7080e

Please sign in to comment.