diff options
| author | Keith Packard <keithp@keithp.com> | 2008-11-20 22:54:54 -0800 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2008-11-25 09:28:06 +1000 |
| commit | 2678d9d6964b29ecd1975870c7a850242b29bc5c (patch) | |
| tree | bce313afee7ef1eed42c622f7cd0e142e1ca4cdf /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | 28dfe52a6e8a1495067c4331358700a170d0ee86 (diff) | |
drm/i915: Subtract total pinned bytes from available aperture size
The old code was wandering through the active list looking for pinned
buffers; there may be other pinned buffers around. Fortunately, we keep a
count of the total amount of pinned memory and can use that instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
