On Wed, Jul 20, 2016 at 04:18:08PM +0300, ville.syrjala@linux.intel.com wrote:
From: Ville Syrjälä ville.syrjala@linux.intel.com
Not all planes on the ssytem may support the same rotations/reflections, so make it possible to create a separate property for each plane. This way userspace gets told exactly which rotations/reflections are possible for each plane.
Hmm, can't see that it would make much difference here, but I was expecting something like
drm_plane_lookup_rotation_propery() { return plane->rotation_property ?: plane->dev->mode_config.rotation_property; }
so that it is obvious that the plane takes precedence over the global property when provided.
You've caught all the spots I can see so, Reviewed-by: Chris Wilson chris@chris-wilson.co.uk -Chris