drm: Check crtc viewport correctly with rotated primary plane on atomic drivers
[firefly-linux-kernel-4.4.55.git] / include / drm / drm_crtc.h
index 33ddedd3603871545cdcb009f9f48d08e88bb79a..3f0c6909dda17f9ec14959353a440da171a87ca6 100644 (file)
@@ -407,9 +407,6 @@ struct drm_crtc_funcs {
  * @enabled: is this CRTC enabled?
  * @mode: current mode timings
  * @hwmode: mode timings as programmed to hw regs
- * @invert_dimensions: for purposes of error checking crtc vs fb sizes,
- *    invert the width/height of the crtc.  This is used if the driver
- *    is performing 90 or 270 degree rotated scanout
  * @x: x position on screen
  * @y: y position on screen
  * @funcs: CRTC control functions
@@ -458,8 +455,6 @@ struct drm_crtc {
         */
        struct drm_display_mode hwmode;
 
-       bool invert_dimensions;
-
        int x, y;
        const struct drm_crtc_funcs *funcs;