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

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Feb 13 00:51:13 PST 2014


On Wed, Feb 12, 2014 at 11:17:27PM +0000, Chris Wilson wrote:
> On Wed, Feb 12, 2014 at 11:14:59PM +0200, ville.syrjala at linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > 
> > 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.
> 
> It would make the video sprite easier, as it would just work with a very
> minimal change. And it would make using the sprite easier for DRI window
> flips. I need to dig a bit as to find out how to fixup cursors I think.

Cursors should just work (tm) with full pipe rotation. You get into a
bit more trouble if you rotate just the cursor plane since then you get
to fix up the dst coordinates if your visible cursor is smaller than the
fixed cursor size. Or did you mean something else?

BTW if you want to try it, I pushed the lot to:
git://gitorious.org/vsyrjala/linux.git rotate_latest_2

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list