|
@@ -205,7 +205,7 @@ static int intelfb_create(struct drm_device *dev, uint32_t fb_width,
|
|
|
|
|
|
// memset(info->screen_base, 0, size);
|
|
|
|
|
|
- drm_fb_helper_fill_fix(info, fb->depth);
|
|
|
+ drm_fb_helper_fill_fix(info, fb->pitch);
|
|
|
drm_fb_helper_fill_var(info, fb, fb_width, fb_height);
|
|
|
|
|
|
/* FIXME: we really shouldn't expose mmio space at all */
|