[Intel-gfx] [PATCH 6/8] drm/i915: Wrap the preallocated BIOS framebuffer and preserve for KMS fbcon v7
Jesse Barnes
jbarnes at virtuousgeek.org
Tue Dec 17 22:05:29 CET 2013
On Tue, 17 Dec 2013 10:34:39 +0000
Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Mon, Dec 16, 2013 at 04:34:27PM -0800, Jesse Barnes wrote:
> > @@ -333,7 +535,8 @@ MODULE_LICENSE("GPL and additional rights");
> > void intel_fbdev_output_poll_changed(struct drm_device *dev)
> > {
> > struct drm_i915_private *dev_priv = dev->dev_private;
> > - drm_fb_helper_hotplug_event(&dev_priv->fbdev->helper);
> > + if (dev_priv->fbdev)
> > + drm_fb_helper_hotplug_event(&dev_priv->fbdev->helper);
> > }
>
> Also intel_fbdev_restore_mode() needs the NULL fbdev safeguard.
Fixed.
--
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list