Resizeable PCI BAR support V4
andy.shevchenko at gmail.com
Tue Apr 25 14:25:25 UTC 2017
On Tue, Apr 25, 2017 at 4:19 PM, Christian König
<deathsimple at vodafone.de> wrote:
> Hi everyone,
> This is the fourth incarnation of this set of patches.
It would be nice if you put (next time) version of the series in each
patch. Usually it's done quite easy by passing -vX (where X is version
number) to git format-patch.
> It enables device
> drivers to resize and most likely also relocate the PCI BAR of devices
> they manage to allow the CPU to access all of the device local memory at once.
> This is very useful for GFX device drivers where the default PCI BAR is only
> about 256MB in size for compatibility reasons, but the device easily have
> multiple gigabyte of local memory.
> Some changes since V3:
> 1. A lot of minor style cleanups.
> 2. Make internal functions for changing BARs directly private to the PCI subsystem.
> 3. Fail if any BAR is still in use when we try to change it.
> 4. Handle intermediate bridges as well.
> 5. Print some more messages when changing something.
> Please review and/or comment,
Would look later (perhaps this week),
With Best Regards,
More information about the dri-devel