[PATCH] qxl: fix framebuffer unpinning
Gerd Hoffmann
kraxel at redhat.com
Fri Sep 22 06:25:36 UTC 2017
On Fri, 2017-09-22 at 02:03 -0300, Gabriel Krisman Bertazi wrote:
> Gerd Hoffmann <kraxel at redhat.com> writes:
>
> > Hi,
> >
> > > > "removing the device"? qxl can't be hotplugged ...
> > > > Or do you mean "rmmod qxl"?
> > >
> > > rmmod qxl
> >
> > rmmod: ERROR: Module qxl is in use.
> >
> > How do you do that? CONFIG_FBCON=n?
>
> I can simply disable X, lightdm or whatever is using it and then
> rmmod.
Works for me only with CONFIG_FBCON=n, otherwise the fbcon framebuffer
keeps qxl busy. So is most cases (typical distro kernel build with
FBCON=y) you simply can't rmmod qxl.
I agree that "rmmod qxl" should be fixed, but IMHO this is independent
from this bugfix, and I'd like to get it out of the door ASAP. Can I
get your reviewed-by?
cheers,
Gerd
More information about the dri-devel
mailing list