]> git.karo-electronics.de Git - linux-beck.git/commit
drm/uapi: Add a warning that mode flags must match the xrandr definitions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Nov 2016 14:10:01 +0000 (16:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Nov 2016 10:10:45 +0000 (11:10 +0100)
commit91d5ee0451607d2a33c2b811ef3cc4a3e4578ed8
treed8812578a725bdb290a73cbfc2b5b7f390fa5416
parente587803c0a0f6bc6e1a9c4761310f96f7bc49acb
drm/uapi: Add a warning that mode flags must match the xrandr definitions

Existing userspace expected the mode flags to match the xrandr
definitions 1:1, and even adding new flags in he previously unused
bits is likely to break existing userspace. Add a comment warning
people about this potential trap.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: "Lin, Jia" <lin.a.jia@intel.com>
Cc: Akashdeep Sharma <akashdeep.sharma@intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1478182201-26086-1-git-send-email-ville.syrjala@linux.intel.com
include/uapi/drm/drm_mode.h