Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371609
b: refs/heads/master
c: 67d411d
h: refs/heads/master
i:
  371607: 3d59d00
v: v3
  • Loading branch information
Christopher Harvey authored and Dave Airlie committed Apr 29, 2013
1 parent 493eca3 commit c3324d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 36d9b1541cedecd59e9d8fff0bbf9b7e9dd9704e
refs/heads/master: 67d411ddb9def691572cd5ad0ee2991510d860d2
3 changes: 0 additions & 3 deletions trunk/drivers/gpu/drm/mgag200/mgag200_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,9 @@ static int mgag200fb_create_object(struct mga_fbdev *afbdev,
struct drm_gem_object **gobj_p)
{
struct drm_device *dev = afbdev->helper.dev;
u32 bpp, depth;
u32 size;
struct drm_gem_object *gobj;

int ret = 0;
drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp);

size = mode_cmd->pitches[0] * mode_cmd->height;
ret = mgag200_gem_create(dev, size, true, &gobj);
Expand Down

0 comments on commit c3324d0

Please sign in to comment.