aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-11-29 15:02:54 -0500
committerDave Airlie <airlied@redhat.com>2011-11-29 15:02:54 -0500
commit248dbc2350501e2c7b9f5ceb60c75515d82f4134 (patch)
treefb12f25d61f71eeba77931b96e58950fc9afd46f /drivers/gpu/drm/vmwgfx
parent435ddd926e880f14ea2ae37062b9b45231d7fdf9 (diff)
drm: move the fb bpp/depth helper into the core.
This is used by nearly everyone including vmwgfx which doesn't generally use the fb helper. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index 1beaa3f8dac2..760d04aee380 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@ -1006,7 +1006,7 @@ static struct drm_framebuffer *vmw_kms_fb_create(struct drm_device *dev,
1006 mode_cmd.height = mode_cmd2->height; 1006 mode_cmd.height = mode_cmd2->height;
1007 mode_cmd.pitch = mode_cmd2->pitches[0]; 1007 mode_cmd.pitch = mode_cmd2->pitches[0];
1008 mode_cmd.handle = mode_cmd2->handles[0]; 1008 mode_cmd.handle = mode_cmd2->handles[0];
1009 drm_helper_get_fb_bpp_depth(mode_cmd2->pixel_format, &mode_cmd.depth, 1009 drm_fb_get_bpp_depth(mode_cmd2->pixel_format, &mode_cmd.depth,
1010 &mode_cmd.bpp); 1010 &mode_cmd.bpp);
1011 1011
1012 /** 1012 /**