projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d9b15
)
drm/mgag200: Remove pointless call to drm_fb_get_bpp_depth
author
Christopher Harvey
<charvey@matrox.com>
Mon, 18 Feb 2013 22:33:49 +0000
(17:33 -0500)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 29 Apr 2013 23:56:40 +0000
(09:56 +1000)
Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mgag200/mgag200_fb.c
b/drivers/gpu/drm/mgag200/mgag200_fb.c
index 2ebe0f635b26ae197eb0d01b0fd26b5dd7916183..421beabec45bc09776745ab2a313228350a19eb6 100644
(file)
--- a/
drivers/gpu/drm/mgag200/mgag200_fb.c
+++ b/
drivers/gpu/drm/mgag200/mgag200_fb.c
@@
-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);