[PATCH v2 1/2] drm: move i915_kick_out_vgacon to drm_fb_helper
Gerd Hoffmann
kraxel at redhat.com
Thu Feb 21 12:39:33 UTC 2019
> > +/**
> > + * drm_fb_helper_kick_out_vgacon - deactivate vgacon driver.
> > + *
> > + * Deactivate vgacon driver so it stops accessing vga io ports.
> > + * Should be called after
> > + * drm_fb_helper_remove_conflicting_pci_framebuffers().
>
> Why after? i915 calls this before kicking out the fbdev drivers ...
No, it doesn't:
<quote>
/*
* WARNING: Apparently we must kick fbdev drivers before vgacon,
* otherwise the vga fbdev driver falls over.
*/
ret = i915_kick_out_firmware_fb(dev_priv);
if (ret) {
DRM_ERROR("failed to remove conflicting framebuffer drivers\n");
goto err_ggtt;
}
ret = i915_kick_out_vgacon(dev_priv);
if (ret) {
DRM_ERROR("failed to remove conflicting VGA console\n");
goto err_ggtt;
}
</quote>
cheers,
Gerd
More information about the dri-devel
mailing list