diff options
author | Dave Airlie <airlied@redhat.com> | 2011-11-29 20:02:54 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-11-29 20:02:54 +0000 |
commit | 248dbc2350501e2c7b9f5ceb60c75515d82f4134 (patch) | |
tree | fb12f25d61f71eeba77931b96e58950fc9afd46f /drivers/gpu/drm/gma500 | |
parent | 435ddd926e880f14ea2ae37062b9b45231d7fdf9 (diff) | |
download | talos-op-linux-248dbc2350501e2c7b9f5ceb60c75515d82f4134.tar.gz talos-op-linux-248dbc2350501e2c7b9f5ceb60c75515d82f4134.zip |
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/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 21c2c56fa37c..171c4419b7f6 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -247,7 +247,7 @@ static int psb_framebuffer_init(struct drm_device *dev, u32 bpp, depth; int ret; - drm_helper_get_fb_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); + drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); if (mode_cmd->pitches[0] & 63) return -EINVAL; |