linux/drivers/gpu/drm/i915
Eric Anholt efbeed96f7 drm/i915: Don't let a device flush to prepare buffers clear new write_domains.
The problem was that object_set_to_gpu_domain would set the new write_domains
that are getting set by this batchbuffer, then the accumulated flushes required
for all the objects in preparation for this batchbuffer were posted, and the
brand new write domain would get cleared by the flush being posted.  Instead,
hang on to the new (or old if we're not changing it) value and set it after
the flush is queued.

Results from this noticably included conformance test failures from reads
shortly after writes (where the new write domain had been lost and thus not
flushed and waited on), but is a suspected cause of hangs in some apps when
a write domain is lost on a buffer that gets reused for instruction or
commmand state.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-02-23 10:06:19 +10:00
..
Makefile drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00
dvo.h drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
dvo_ch7xxx.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ch7017.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ivch.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_sil164.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_tfp410.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
i915_dma.c drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_drv.c drm/i915: Keep refs on the object over the lifetime of vmas for GTT mmap. 2009-02-20 12:21:13 +10:00
i915_drv.h drm: Use spread spectrum when the bios tells us it's ok. 2009-02-20 12:21:13 +10:00
i915_gem.c drm/i915: Don't let a device flush to prepare buffers clear new write_domains. 2009-02-23 10:06:19 +10:00
i915_gem_debug.c drm: Add GEM ("graphics execution manager") to i915 driver. 2008-10-18 07:10:12 +10:00
i915_gem_proc.c drm/i915: Add /proc debugging entry for reading out the HWS. 2008-12-29 17:47:22 +10:00
i915_gem_tiling.c drm/i915: hold mutex for unreference() in i915_gem_tiling.c 2009-02-20 12:21:09 +10:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_mem.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
i915_opregion.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
i915_reg.h drm/i915: add get_vblank_counter function for GM45 2009-02-08 21:43:04 +10:00
i915_suspend.c drm/i915: Save/restore HWS_PGA on suspend/resume 2008-11-26 15:47:25 +10:00
intel_bios.c drm: Use spread spectrum when the bios tells us it's ok. 2009-02-20 12:21:13 +10:00
intel_bios.h DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_crt.c drm/i915: fix sparse warnings: make symbols static 2008-12-29 17:47:26 +10:00
intel_display.c drm/i915: take struct mutex around fb unref 2009-02-20 12:21:13 +10:00
intel_drv.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_dvo.c drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
intel_fb.c drm/i915: Unpin the fb on error during construction. 2009-02-20 12:21:11 +10:00
intel_hdmi.c drm/i915: Add support for integrated HDMI on G4X hardware. 2009-01-07 11:49:47 +10:00
intel_i2c.c i2c: Delete many unused adapter IDs 2009-01-26 21:19:52 +01:00
intel_lvds.c drm/i915: Don't add panel_fixed_mode to the probed modes list at LVDS init. 2009-02-20 12:21:12 +10:00
intel_modes.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
intel_sdvo.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00
intel_sdvo_regs.h drm/i915: sync SDVO code with stable userland modesetting driver 2009-02-08 21:38:14 +10:00
intel_tv.c drm/i915: Storage class should be before const qualifier 2009-02-20 12:21:08 +10:00