Keith Packard 2678d9d696 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>
2008-11-25 09:28:06 +10:00
..
2008-11-19 18:50:00 -08:00
2008-10-28 17:46:02 +09:00
2008-11-07 08:25:43 -08:00
2008-11-14 14:10:01 +01:00
2008-11-13 15:37:07 +09:00
2008-11-01 09:49:46 -07:00
2008-11-01 09:50:12 -07:00
2008-10-21 07:48:33 -04:00
2008-11-19 18:49:57 -08:00
2008-10-16 11:21:30 -07:00
2008-10-27 19:15:41 +01:00
2008-11-04 08:18:19 -08:00
2008-11-04 08:18:19 -08:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-11-19 22:01:35 -08:00
2008-11-19 18:50:00 -08:00
2008-11-17 19:11:26 +01:00
2008-10-28 21:47:17 +00:00