This reverts commit a68362fe3e84fcbedd49939aa200519aa5410135. Adding new mode flags willy nilly breaks existing userspace. We need to coordinate this better, potentially with a new client cap that only exposes the aspect ratio flags when userspace is prepared for them (similar to what we do with stereo 3D modes).
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -89,8 +89,6 @@ extern "C" { · 88 unmodified lines | |||
| 89 | #define DRM_MODE_PICTURE_ASPECT_NONE 0 | 89 | #define DRM_MODE_PICTURE_ASPECT_NONE 0 |
| 90 | #define DRM_MODE_PICTURE_ASPECT_4_3 1 | 90 | #define DRM_MODE_PICTURE_ASPECT_4_3 1 |
| 91 | #define DRM_MODE_PICTURE_ASPECT_16_9 2 | 91 | #define DRM_MODE_PICTURE_ASPECT_16_9 2 |
| 92 | #define DRM_MODE_PICTURE_ASPECT_64_27 3 | ||
| 93 | #define DRM_MODE_PICTURE_ASPECT_256_135 4 | ||
| 94 | 92 | ||
| 95 | /* Aspect ratio flag bitmask (4 bits 22:19) */ | 93 | /* Aspect ratio flag bitmask (4 bits 22:19) */ |
| 96 | #define DRM_MODE_FLAG_PIC_AR_MASK (0x0F<<19) | 94 | #define DRM_MODE_FLAG_PIC_AR_MASK (0x0F<<19) |
| @@ -100,10 +98,6 @@ extern "C" { · 3 unmodified lines | |||
| 100 | (DRM_MODE_PICTURE_ASPECT_4_3<<19) | 98 | (DRM_MODE_PICTURE_ASPECT_4_3<<19) |
| 101 | #define DRM_MODE_FLAG_PIC_AR_16_9 \ | 99 | #define DRM_MODE_FLAG_PIC_AR_16_9 \ |
| 102 | (DRM_MODE_PICTURE_ASPECT_16_9<<19) | 100 | (DRM_MODE_PICTURE_ASPECT_16_9<<19) |
| 103 | #define DRM_MODE_FLAG_PIC_AR_64_27 \ | ||
| 104 | (DRM_MODE_PICTURE_ASPECT_64_27<<19) | ||
| 105 | #define DRM_MODE_FLAG_PIC_AR_256_135 \ | ||
| 106 | (DRM_MODE_PICTURE_ASPECT_256_135<<19) | ||
| 107 | 101 | ||
| 108 | /* DPMS flags */ | 102 | /* DPMS flags */ |
| 109 | /* bit compatible with the xorg definitions. */ | 103 | /* bit compatible with the xorg definitions. */ |