On ma, 2016-09-26 at 19:30 +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote: > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > We have intel_rotation_90_or_270() in i915 to check if the rotation is > 90 or 270 degrees. Similar checks are elsewhere in drm, so let's move > the helper into a central place and use it everwhere. > > v2: Drop the BIT() > Convert all new intel_rotation_90_or_270() calls > Deal with superfluous code shuffling > > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> (v1) Looks good. Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel