Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179927
b: refs/heads/master
c: 7e71c9e
h: refs/heads/master
i:
  179925: 466cc37
  179923: 0598fd7
  179919: dc025af
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Jan 20, 2010
1 parent 2f92327 commit 3ff28f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 7924e5eb8fe422d6b1ce3b3e2be749a480dfcdd9
refs/heads/master: 7e71c9e2e7704ebf044d4a964e02fbd2098a173f
6 changes: 5 additions & 1 deletion trunk/drivers/gpu/drm/radeon/radeon_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,11 @@ radeon_user_framebuffer_create(struct drm_device *dev,
struct drm_gem_object *obj;

obj = drm_gem_object_lookup(dev, file_priv, mode_cmd->handle);

if (obj == NULL) {
dev_err(&dev->pdev->dev, "No GEM object associated to handle 0x%08X, "
"can't create framebuffer\n", mode_cmd->handle);
return NULL;
}
return radeon_framebuffer_create(dev, mode_cmd, obj);
}

Expand Down

0 comments on commit 3ff28f3

Please sign in to comment.