summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-03-06 09:40:07 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-03-06 09:40:07 +0800
commit67fef27f4b76490be085d232aba0ca9cbb3c5e59 (patch)
tree1d77d6f57e215a3f7b37b1788402578f679bf519 /src/i810_reg.h
parent0d20bbbc2005a51f427a9ae6b6a66dbbb101dbab (diff)
Xv: free tearing on textured video
Add an Xv attribute XV_SYNC_TO_VBLANK which has three values -1(auto), 0(off) and 1(on) to control whether textured adapter synchronizes the screen update to the vblank. The default value is -1(auto).
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 51970c16..3114b42c 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -2436,7 +2436,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/* Wait for Events */
#define MI_WAIT_FOR_EVENT (0x03<<23)
+#define MI_WAIT_FOR_PIPEB_SVBLANK (1<<18)
+#define MI_WAIT_FOR_PIPEA_SVBLANK (1<<17)
#define MI_WAIT_FOR_OVERLAY_FLIP (1<<16)
+#define MI_WAIT_FOR_PIPEB_VBLANK (1<<7)
+#define MI_WAIT_FOR_PIPEA_VBLANK (1<<3)
/* Flush */
#define MI_FLUSH (0x04<<23)