intel-gem: Fix pread math and logic errors.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jul 2008 18:49:25 +0000 (11:49 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 Jul 2008 18:49:25 +0000 (11:49 -0700)
commit6d258ddf7715412e2fb6fae35ea28d49c57ee130
treed0e6744e678dc2c2d2037b3027a5117529ce1e3a
parent439d7106832f2e9742deb900d96f1d3bc07162b1
intel-gem: Fix pread math and logic errors.

Fixes an oops in fbotexture from walking off the end of the page list.
linux-core/i915_gem.c