Use previous buffer offsets to compute proposed relocations
authorKeith Packard <keithp@keithp.com>
Thu, 6 Dec 2007 22:11:34 +0000 (14:11 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 12 Dec 2007 04:27:42 +0000 (20:27 -0800)
commitaeca22f97c5650108a315063ea76ad2204bb2ef5
tree35d4ab3a5d88bb2f840014015f6d368f81dda52b
parent46c405663b20a33be7ed386ce61f66b9c2ee072b
Use previous buffer offsets to compute proposed relocations

This takes advantage of the DRM_BO_HINT_PRESUMED_OFFSET change and allows
the kernel to avoid mapping and re-writing buffers when relocations occur.
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c