[PATCH] modesetting: Support native primary plane rotation
Mark Kettenis
mark.kettenis at xs4all.nl
Thu Jul 10 13:20:50 PDT 2014
> From: Chris Wilson <chris at chris-wilson.co.uk>
> Date: Wed, 9 Jul 2014 12:14:41 +0100
>
> With the advent of universal drm planes and the introduction of generic
> plane properties for rotations, we can query and program the hardware
> for native rotation support.
>
> NOTE: this depends upon the next release of libdrm to remove one
> opencoded define.
>
> v2: Use enum to determine primary plane, suggested by Pekka Paalanen.
> Use libobj for replacement ffs(), suggested by walter harms
> v3: Support combinations of rotations and reflections
> Eliminate use of ffs() and so remove need for libobj
Surely that means...
>
> +#ifndef HAVE_FFS
> +extern int ffs(unsigned int value);
> +#endif
This bit should be removed ad well?
More information about the dri-devel
mailing list