[Intel-gfx] [PATCH 0/9] drm/i915: Async flips for all ilk+ platforms

Ville Syrjala ville.syrjala at linux.intel.com
Fri Jan 8 18:40:52 UTC 2021


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

MMIO async flips have been suported since g4x. We can easily enable
them for all ilk+ platforms. So let's do that.

g4x is more problematic since it doesn't have a flip done
interrupt (which the current solution depends on), and the flip
pending blit that it does have only works with CS flips. Some
potential ideas would involve just polling the live surface 
register etc. but not sure it's worth the hassle. So at least 
for the time being we leave g4x out in the cold.

Ville Syrjälä (9):
  drm/i915: Drop redundant parens
  drm/i915: Generalize the async flip capability check
  drm/i915: Add plane vfuncs to enable/disable flip_done interrupt
  drm/i915: Move the async_flip bit setup into the .async_flip() hook
  drm/i915: Reuse the async_flip() hook for the async flip disable w/a
  drm/i915: Implement async flips for bdw
  drm/i915: Implement async flips for ivb/hsw
  drm/i915: Implement async flips for ilk/snb
  drm/i915: Implement async flips for vlv/chv

 drivers/gpu/drm/i915/display/i9xx_plane.c     | 142 ++++++++++++++++++
 .../gpu/drm/i915/display/intel_atomic_plane.c |   2 +-
 drivers/gpu/drm/i915/display/intel_display.c  | 108 ++++++++-----
 .../drm/i915/display/intel_display_types.h    |   6 +-
 drivers/gpu/drm/i915/display/intel_sprite.c   |  36 ++++-
 drivers/gpu/drm/i915/i915_irq.c               |  67 ++++-----
 drivers/gpu/drm/i915/i915_irq.h               |   3 -
 drivers/gpu/drm/i915/i915_reg.h               |   3 +
 8 files changed, 283 insertions(+), 84 deletions(-)

-- 
2.26.2



More information about the Intel-gfx mailing list