[Intel-gfx] [PATCH v2 0/5] drm/i915: mmio vs. CS flip race fix

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Tue Apr 15 20:41:33 CEST 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

This is the second version of the mmio vs. CS flip race fix.

Since v1 I fixed one if Chris's complaints. I still left the
flip_count_after_eq() untouched so that it's reasonably consistent
with the vbl_count_after_eq() I have in my watermark series.

The IPS vs. vblank wait removal patches got reordered.

And I realized we have another race with the primary enable/disable
logic in the sprite code, so I added a fix for that as well.

And finally I tried to kill off some code duplication in the .queue_flip()
functions.

I also wrote a few testcases that exercise these bugs.

Ville Syrjälä (5):
  drm/i915: Fix mmio vs. CS flip race on ILK+
  drm/i915: Wait for vblank in hsw_enable_ips()
  drm/i915: Drop the excessive vblank waits from modeset codepaths
  drm/i915: Wait for pending page flips before enabling/disabling the
    primary plane
  drm/i915: Move buffer pinning and ring selection to
    intel_crtc_page_flip()

 drivers/gpu/drm/i915/i915_drv.h      |   1 +
 drivers/gpu/drm/i915/i915_reg.h      |   1 +
 drivers/gpu/drm/i915/intel_display.c | 184 +++++++++++++++++------------------
 drivers/gpu/drm/i915/intel_drv.h     |   3 +
 drivers/gpu/drm/i915/intel_sprite.c  |   9 +-
 5 files changed, 102 insertions(+), 96 deletions(-)

-- 
1.8.3.2




More information about the Intel-gfx mailing list