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 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel