Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Add DRM_ROTATE_MASK and DRM_REFLECT_MASK

Makes it cleaner to separate the two from rotation variable.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

authored by

Joonas Lahtinen and committed by
Daniel Vetter
62209070 8f12a311

+2
+2
include/drm/drm_crtc.h
··· 86 86 } 87 87 88 88 /* rotation property bits */ 89 + #define DRM_ROTATE_MASK 0x0f 89 90 #define DRM_ROTATE_0 0 90 91 #define DRM_ROTATE_90 1 91 92 #define DRM_ROTATE_180 2 92 93 #define DRM_ROTATE_270 3 94 + #define DRM_REFLECT_MASK (~DRM_ROTATE_MASK) 93 95 #define DRM_REFLECT_X 4 94 96 #define DRM_REFLECT_Y 5 95 97