summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_dma.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-04-06 20:51:49 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-04-06 20:51:49 +0000
commit46990b14d260e53f3cc5476531b07d43c6381cf9 (patch)
tree082cc204b4b1486a2c2f5af388d98eef69ae8167 /sys/dev/pci/drm/i915_dma.c
parent28400fae1b342b9c5d57327c525ecf50b259761e (diff)
Set a first step on the road towards proper accounting of PCI resources by
keeping a per-bus extent containing the address space available to the bus. Address space assigned to devices will be removed from these extents when we attach a bus. And when we try to map a PCI BAR that hasn't had address space assigned to it, we will allocate free space from this extent. This won't do anything until the parent devices actually allocate and initialize the extents. ok oga@
Diffstat (limited to 'sys/dev/pci/drm/i915_dma.c')
0 files changed, 0 insertions, 0 deletions