[PATCH 0/5] drm/i915: Full pipe rotation & rotation property name bikeshedding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

After playing around Sagar's primary plane rotation a bit, I decided that
extending that to full pipe rotation would be nice. Chris also seemed to
want that, but I'm not sure he does anymore :) But then I decided it's so
easy to implement that I can't leave it hanging. So here it is.

The biggest topic for discussion here should be the property names. I'm
now proposing the following:

* drm_plane "rotation" -> rotates only the specific plane
* drm_crtc "plane-rotation" -> rotates only the crtc primary plane
* drm_crtc "cursor-rotation" -> rotates only the crtc cursor plane
* drm_crtc "rotation" -> rotates the entire crtc ie. effectively
  the rotation happens after all planes have been blended together

Once we get to the fancy new world where everything is a drm_plane, we
can start ignoring the "plane-rotation" and "cursor-rotation" properties.

Any input on the names is appreciated.

Ville Syrjälä (5):
  drm: Pass name to drm_rotation_property_create()
  drm/i915: Rename primary plane rotation property to "plane-rotation"
  drm: Add drm_rotation_chain()
  drm/i915: Add rotation support for the cursor plane
  drm/i915: Add full pipe rotation

 drivers/gpu/drm/drm_crtc.c           |  45 ++++++-
 drivers/gpu/drm/i915/i915_dma.c      |  26 ++++-
 drivers/gpu/drm/i915/i915_drv.h      |   4 +-
 drivers/gpu/drm/i915/i915_reg.h      |   1 +
 drivers/gpu/drm/i915/intel_display.c | 219 ++++++++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_drv.h     |   4 +-
 drivers/gpu/drm/i915/intel_pm.c      |   6 +-
 drivers/gpu/drm/i915/intel_sprite.c  |  23 +++-
 drivers/gpu/drm/omapdrm/omap_plane.c |   2 +-
 include/drm/drm_crtc.h               |   3 +
 10 files changed, 277 insertions(+), 56 deletions(-)

-- 
1.8.3.2

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux