[PATCH] drm/vmwgfx: Stop requesting the pci regions

Zack Rusin zackr at vmware.com
Thu Jan 20 21:28:30 UTC 2022


On Thu, 2022-01-20 at 11:00 +0100, Thomas Zimmermann wrote:
> > > 
> > > If that works, would you consider protecting pci_request_region()
> > > with
> > >    #if not defined(CONFIG_FB_SIMPLE)
> > >    #endif
> > > 
> > > with a FIXME comment?
> > 
> > Yes, I think that's a good compromise. I'll respin the patch with
> > that.
> 
> Before you do that, I have one more patch for you to try. It's all
> the 
> changes as before, but now fbdev hot-unplugs the underlying platform 
> device from the device hierarchy. The BOOTFB will not consume parts
> of 
> vmwgfx's display memory range any longer. It's now the same behavior
> as 
> with simpledrm.
> 
> This works for me with simplefb and efifb on i915 hardware.

Yea, that works for me too. Both with simpledrm and simplefb. The patch
looks good too.

Do you think you'll be able to get this in stable kernels? If not I'll
still need something for vmwgfx to make kernels between 5.15 and
whenever this patch gets in boot with fb.

z


More information about the dri-devel mailing list