diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_fbdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c index c942d13cd5cb..347d16220cd0 100644 --- a/drivers/gpu/drm/i915/intel_fbdev.c +++ b/drivers/gpu/drm/i915/intel_fbdev.c | |||
@@ -623,7 +623,8 @@ int intel_fbdev_init(struct drm_device *dev) | |||
623 | if (ifbdev == NULL) | 623 | if (ifbdev == NULL) |
624 | return -ENOMEM; | 624 | return -ENOMEM; |
625 | 625 | ||
626 | ifbdev->helper.funcs = &intel_fb_helper_funcs; | 626 | drm_fb_helper_prepare(dev, &ifbdev->helper, &intel_fb_helper_funcs); |
627 | |||
627 | if (!intel_fbdev_init_bios(dev, ifbdev)) | 628 | if (!intel_fbdev_init_bios(dev, ifbdev)) |
628 | ifbdev->preferred_bpp = 32; | 629 | ifbdev->preferred_bpp = 32; |
629 | 630 | ||