[PATCH v3 00/12] Enabling 180 degree rotation for sprite and crtc planes

sagar.a.kamble
2014-02-06T15:04:11Z

From: Sagar Kamble <sagar.a.kamble@intel.com>

These patches will enable 180 degree rotation for CRTC and Sprite planes. This
version has following changes:
1. Addressed review comments for CRTC rotation from FBC, page flip, CRTC active/
inactive perspective.
2. Removed drm_rect_rotate amd drm_rect_rotate_inv functions as they dont take
care of clipped planes and 180 rotation in that case produces invalid result.

Sagar Kamble (3):
drm/i915: Add 180 degree primary plane rotation support
drm: Set property to return invalid for unsupported arguments for
bitmask property
drm/i915: Removing rotate and inverse rotate calls from update_plane

Ville Syrjälä (9):
drm: Move DRM_ROTATE bits out of omapdrm into drm_crtc.h
drm: Add support_bits parameter to drm_property_create_bitmask()
drm: Add drm_mode_create_rotation_property()
drm/omap: Switch omapdrm over to drm_mode_create_rotation_property()
drm: Add drm_rect rotation functions
drm: Add drm_rotation_simplify()
drm/i915: Add 180 degree sprite rotation support
drm/i915: Make intel_plane_restore() return an error
drm/i915: Add rotation property for sprites

drivers/gpu/drm/drm_crtc.c | 72 +++++++++++++++++-
drivers/gpu/drm/drm_rect.c | 140 +++++++++++++++++++++++++++++++++++
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/i915_reg.h | 4 +
drivers/gpu/drm/i915/intel_display.c | 75 ++++++++++++++++++-
drivers/gpu/drm/i915/intel_drv.h | 5 +-
drivers/gpu/drm/i915/intel_sprite.c | 87 ++++++++++++++++++++--
drivers/gpu/drm/omapdrm/omap_drv.h | 7 --
drivers/gpu/drm/omapdrm/omap_plane.c | 17 ++---
include/drm/drm_crtc.h | 15 +++-
include/drm/drm_rect.h | 6 ++
11 files changed, 397 insertions(+), 32 deletions(-)