diff options
author | Dave Airlie <airlied@redhat.com> | 2017-10-16 05:08:09 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-11-23 12:45:25 +1000 |
commit | 66660d4cf21b7dfcb258d8a51734963802693796 (patch) | |
tree | 0b0136f6030cc961209ecd17a0963d16feebc2fa /include/drm/drm_connector.h | |
parent | 1cee3bce71e916c6213ec5566bd9666ffd202de0 (diff) |
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_connector.h')
-rw-r--r-- | include/drm/drm_connector.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 7a7140543012..df9807a3caae 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -284,6 +284,11 @@ struct drm_display_info { * @hdmi: advance features of a HDMI sink. */ struct drm_hdmi_info hdmi; + + /** + * @non_desktop: Non desktop display (HMD). + */ + bool non_desktop; }; int drm_display_info_set_bus_formats(struct drm_display_info *info, |