[Intel-gfx] [PATCH v3 11/15] drm/i915: Use the per-plane rotation property

Daniel Vetter daniel at ffwll.ch
Fri Oct 21 16:28:22 UTC 2016


On Tue, Sep 27, 2016 at 12:58:49PM +0300, Joonas Lahtinen wrote:
> On ma, 2016-09-26 at 19:30 +0300, ville.syrjala at linux.intel.com wrote:
> > > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > 
> > On certain platforms not all planes support the same set of
> > rotations/reflections, so let's use the per-plane property
> > for this.
> > 
> > This is already a problem on SKL when we use the legay cursor plane
> > as it only supports 0|180 whereas the universal planes support
> > 0|90|180|270, and it will be a problem on CHV soon.
> > 
> > v2: Use drm_plane_create_rotation_property() helper
> > v3: Drop the BIT(), use INTEL_GEN()
> > 
> > Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> (v1)
> > Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com> (v2)
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Applied up to this one because I hit a small snag in msm.

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list