diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-27 21:21:06 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-27 21:21:06 +0200 |
commit | 928bdc6c1c9cd1e60f0b070533768aaca56c84d8 (patch) | |
tree | f43417f3621b292d32ffe9dec3ae15f096f98b99 | |
parent | b4b7b997605f88f3ffdcb0cc7cd1271e0cb24073 (diff) |
Initialize i915 saved flush flags.
-rw-r--r-- | shared-core/i915_dma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index d6bb6c8e..8ef9d8e1 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -195,7 +195,9 @@ static int i915_initialize(drm_device_t * dev, I915_WRITE(0x02080, dev_priv->dma_status_page); DRM_DEBUG("Enabled hardware status page\n"); - +#ifdef I915_HAVE_FENCE + dev_priv->saved_flush_status = READ_HWSP(dev_priv, 0); +#endif dev->dev_private = (void *)dev_priv; return 0; |