[Intel-gfx] [PATCH i-g-t 05/43] igt_kms: Add support for setting plane rotation

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 11 08:42:56 CEST 2014


On Fri, Jul 11, 2014 at 08:40:29AM +0200, Daniel Vetter wrote:
> On Thu, Jul 10, 2014 at 07:00:06PM +0100, Damien Lespiau wrote:
> > +typedef enum {
> > +	/* this maps to the kernel API */
> > +	IGT_ROTATION_0   = 1 << 0,
> > +	IGT_ROTATION_90  = 1 << 1,
> > +	IGT_ROTATION_180 = 1 << 2,
> > +	IGT_ROTATION_270 = 1 << 3,
> > +} igt_rotation_t;
> 
> Should we also add the flip X/Y bits, even if we currently don't support
> this in the kernel?

Presumably there are tests in here to check the kernel rejects
unsupported combination of rotations and unknown reflections? In which,
yes.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list