commit | 07074006cd951f7a952512c57d60788ee7ea18db | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Jul 08 10:31:55 2014 +0530 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jul 11 23:44:12 2014 +0200 |
tree | 9ddc3b8eda1f941782f09adfdd0a30658c2720b1 | |
parent | a4969dd78735ea61bf67712987e1bd69d32e243c [diff] |
drm: Add drm_rect rotation functions Add some helper functions to move drm_rects between different rotated coordinate spaces. One function does the forward transform and another does the inverse. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Acked-by: Dave Airlie <airlied@linux.ie> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>