> > > 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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel