We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e587803 commit 91d5ee0Copy full SHA for 91d5ee0
include/uapi/drm/drm_mode.h
@@ -47,7 +47,15 @@ extern "C" {
47
#define DRM_MODE_TYPE_DRIVER (1<<6)
48
49
/* Video mode flags */
50
-/* bit compatible with the xorg definitions. */
+/* bit compatible with the xrandr RR_ definitions (bits 0-13)
51
+ *
52
+ * ABI warning: Existing userspace really expects
53
+ * the mode flags to match the xrandr definitions. Any
54
+ * changes that don't match the xrandr definitions will
55
+ * likely need a new client cap or some other mechanism
56
+ * to avoid breaking existing userspace. This includes
57
+ * allocating new flags in the previously unused bits!
58
+ */
59
#define DRM_MODE_FLAG_PHSYNC (1<<0)
60
#define DRM_MODE_FLAG_NHSYNC (1<<1)
61
#define DRM_MODE_FLAG_PVSYNC (1<<2)
0 commit comments