diff options
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 683f1421a825..3f0c6909dda1 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -86,10 +86,12 @@ static inline uint64_t I642U64(int64_t val) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | /* rotation property bits */ | 88 | /* rotation property bits */ |
89 | #define DRM_ROTATE_MASK 0x0f | ||
89 | #define DRM_ROTATE_0 0 | 90 | #define DRM_ROTATE_0 0 |
90 | #define DRM_ROTATE_90 1 | 91 | #define DRM_ROTATE_90 1 |
91 | #define DRM_ROTATE_180 2 | 92 | #define DRM_ROTATE_180 2 |
92 | #define DRM_ROTATE_270 3 | 93 | #define DRM_ROTATE_270 3 |
94 | #define DRM_REFLECT_MASK (~DRM_ROTATE_MASK) | ||
93 | #define DRM_REFLECT_X 4 | 95 | #define DRM_REFLECT_X 4 |
94 | #define DRM_REFLECT_Y 5 | 96 | #define DRM_REFLECT_Y 5 |
95 | 97 | ||
@@ -405,9 +407,6 @@ struct drm_crtc_funcs { | |||
405 | * @enabled: is this CRTC enabled? | 407 | * @enabled: is this CRTC enabled? |
406 | * @mode: current mode timings | 408 | * @mode: current mode timings |
407 | * @hwmode: mode timings as programmed to hw regs | 409 | * @hwmode: mode timings as programmed to hw regs |
408 | * @invert_dimensions: for purposes of error checking crtc vs fb sizes, | ||
409 | * invert the width/height of the crtc. This is used if the driver | ||
410 | * is performing 90 or 270 degree rotated scanout | ||
411 | * @x: x position on screen | 410 | * @x: x position on screen |
412 | * @y: y position on screen | 411 | * @y: y position on screen |
413 | * @funcs: CRTC control functions | 412 | * @funcs: CRTC control functions |
@@ -456,8 +455,6 @@ struct drm_crtc { | |||
456 | */ | 455 | */ |
457 | struct drm_display_mode hwmode; | 456 | struct drm_display_mode hwmode; |
458 | 457 | ||
459 | bool invert_dimensions; | ||
460 | |||
461 | int x, y; | 458 | int x, y; |
462 | const struct drm_crtc_funcs *funcs; | 459 | const struct drm_crtc_funcs *funcs; |
463 | 460 | ||