summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_mode_config.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-10-16 06:08:09 +0200
committerDave Airlie <airlied@redhat.com>2017-11-23 03:45:25 +0100
commit66660d4cf21b7dfcb258d8a51734963802693796 (patch)
tree0b0136f6030cc961209ecd17a0963d16feebc2fa /include/drm/drm_mode_config.h
parentMerge tag 'tilcdc-4.15-fixes' of https://github.com/jsarha/linux into drm-next (diff)
downloadlinux-66660d4cf21b7dfcb258d8a51734963802693796.tar.xz
linux-66660d4cf21b7dfcb258d8a51734963802693796.zip
drm: add connector info/property for non-desktop displays [v2]
This adds the infrastructure needed to quirk displays using edid and to mark them a non-desktop. A non-desktop display is one which shouldn't normally be included as a part of a desktop environment. This is meant to cover head mounted devices like HTC Vive. v2: Change description from non-standard to non-desktop, add docs Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com> fixup docs
Diffstat (limited to 'include/drm/drm_mode_config.h')
-rw-r--r--include/drm/drm_mode_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 0b4ac2ebc610..b21e827c5c78 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -728,6 +728,13 @@ struct drm_mode_config {
*/
struct drm_property *suggested_y_property;
+ /**
+ * @non_desktop_property: Optional connector property with a hint
+ * that device isn't a standard display, and the console/desktop,
+ * should not be displayed on it.
+ */
+ struct drm_property *non_desktop_property;
+
/* dumb ioctl parameters */
uint32_t preferred_depth, prefer_shadow;