summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-20 16:07:05 -0700
committerEric Anholt <eric@anholt.net>2009-04-27 17:05:59 -0700
commitaf6892f2b873dd508994d8bbf3d67e719b535e35 (patch)
tree6f28d50e0811388ea83b15494b1b7206d299ba75 /src/i830.h
parent393abc15b76804580bfee0760ddbd1fb77e66c02 (diff)
Replace i830WaitSync with just I830Sync(), as nearly all callers had it wrong.
People were trying to BEGIN_BATCH()/ADVANCE_BATCH() then i830WaitSync on the results, which wouldn't necessarily wait and lead to various painful bugs, since only EXA called MarkSync and only for certain rendering operations.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/i830.h b/src/i830.h
index d2307f6c..73b0712b 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -440,7 +440,6 @@ typedef struct _I830Rec {
uxa_driver_t *uxa_driver;
Bool need_flush;
- Bool need_sync;
PixmapPtr pSrcPixmap;
int accel_pixmap_pitch_alignment;
int accel_pixmap_offset_alignment;
@@ -758,9 +757,6 @@ void i830_hdmi_init(ScrnInfoPtr pScrn, int output_reg);
/* i830_lvds.c */
void i830_lvds_init(ScrnInfoPtr pScrn);
-extern void i830MarkSync(ScrnInfoPtr pScrn);
-extern void i830WaitSync(ScrnInfoPtr pScrn);
-
/* i830_memory.c */
Bool i830_bind_all_memory(ScrnInfoPtr pScrn);
Bool i830_unbind_all_memory(ScrnInfoPtr pScrn);