diff mbox

[regression] drm/i915: Flush pending writes on i830/i845 after updating GTT

Message ID 1293701795.5595.7.camel@zwerg (mailing list archive)
State New, archived
Headers show

Commit Message

Oleksij Rempel Dec. 30, 2010, 9:36 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index cecaa07..3a12cbf 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2148,8 +2148,8 @@  i915_gem_flush_ring(struct drm_device *dev,
                    uint32_t invalidate_domains,
                    uint32_t flush_domains)
 {
-       if (list_empty(&ring->gpu_write_list))
-               return;
+//     if (list_empty(&ring->gpu_write_list))
+//             return;
 
        ring->flush(ring, invalidate_domains, flush_domains);
        i915_gem_process_flushing_list(dev, flush_domains, ring);