[PATCH v4 1/2] drm: move i915_kick_out_vgacon to vgaarb

Gerd Hoffmann kraxel at redhat.com
Thu Feb 28 13:30:06 UTC 2019


> > > stolen memory is where the fb physically resides. the pci bar is how
> > > you access it (as long as you take all the pci bars). From a quick
> > > look i915 and pci version of remove_conflicting_fb matched.
> > 
> > Well, it is
> > 
> > 	ap->ranges[0].base = ggtt->gmadr.start;
> > 	ap->ranges[0].size = ggtt->mappable_end;
> > 
> > vs.
> > 
> > 	ap->ranges[0].base = pci_resource_start(pdev, res_id);
> > 	ap->ranges[0].size = pci_resource_len(pdev, res_id);
> > 
> > So not obvious that they are the same.  At least to me, maybe it is a
> > different story for someone knowing the i915 driver better.
> 
> It's one of the pci bars, so amounts to the same. But yeah not obvious if
> you don't know that.

On my system (kaby lake) it happens to be pci bar 2, is that true for
all igd devices?

cheers,
  Gerd



More information about the dri-devel mailing list