[PATCH 0/6] drm: drm_rect and clipping for intel sprite planes v2

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Apr 24 08:52:33 PDT 2013


Here's the latest version of my plane clipping stuff.

I think it should be ready for merging. Laurent reviewed the first patch,
and Chris reviewed the whole set.

I didn't hear any bikeshedding about the location of the drm_rect
stuff from anyone, so I'm assuming it's all good.

Ville Syrjälä (6):
      drm: Add struct drm_rect and assorted utility functions
      drm: Add drm_rect_calc_{hscale, vscale}() utility functions
      drm: Add drm_rect_debug_print()
      drm: Add drm_rect_equals()
      drm/i915: Implement proper clipping for video sprites
      drm/i915: Relax the sprite scaling limits checks

 Documentation/DocBook/drm.tmpl      |   2 +
 drivers/gpu/drm/Makefile            |   3 +-
 drivers/gpu/drm/drm_rect.c          | 295 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_sprite.c | 202 ++++++++++++++++++------
 include/drm/drm_rect.h              | 160 +++++++++++++++++++
 5 files changed, 615 insertions(+), 47 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_rect.c
 create mode 100644 include/drm/drm_rect.h


More information about the dri-devel mailing list