i915: Tell the kernel when we actually need fence registers on our BOs.
authorEric Anholt <eric@anholt.net>
Wed, 3 Mar 2010 02:04:40 +0000 (18:04 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 3 Mar 2010 19:33:37 +0000 (11:33 -0800)
commit06d1472ffa0648efa9374fa227894fbf0b0be054
tree26c277d1b3674867a9d17a3caa6c6de1ce13e87e
parent179d2c0e0bcf96fc40107882ccab909af8c89853
i915: Tell the kernel when we actually need fence registers on our BOs.

This improves tiled texture performance of OA on my 945 from 25.3fps
to 29.0fps, whereas untiled is 28.2fps, by avoiding stalls for fence
register changes.
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_screen.c