summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_modes.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-12 22:48:50 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-16 18:48:46 +0200
commit522171951761153172c75b94ae1f4bc9ab631745 (patch)
treea3a54fbef3e080547aca515955828cf4a1f03227 /include/drm/drm_modes.h
parentadebd6fe9f0b75e5466cd6e559cd4339b037440f (diff)
downloadlinux-522171951761153172c75b94ae1f4bc9ab631745.tar.gz
linux-522171951761153172c75b94ae1f4bc9ab631745.tar.xz
drm: Extract drm_connector.[hc]
Pulls in quite a lot of connector related structures (cmdline mode, force/status enums, display info), but I think that all makes perfect sense. Also had to move a few more core kms object stuff into drm_modeset.h. And as a first cleanup remove the kerneldoc for the 2 connector IOCTL - DRM core docs are aimed at drivers, no point documenting internal in excruciating detail. v2: And also pull in all the connector property code. Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1471034937-651-14-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_modes.h')
-rw-r--r--include/drm/drm_modes.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h
index fed9fe81590c..1621e9b32330 100644
--- a/include/drm/drm_modes.h
+++ b/include/drm/drm_modes.h
@@ -28,6 +28,7 @@
#define __DRM_MODES_H__
#include <drm/drm_modeset.h>
+#include <drm/drm_connector.h>
/*
* Note on terminology: here, for brevity and convenience, we refer to connector
@@ -402,21 +403,6 @@ struct drm_display_mode {
enum hdmi_picture_aspect picture_aspect_ratio;
};
-/* mode specified on the command line */
-struct drm_cmdline_mode {
- bool specified;
- bool refresh_specified;
- bool bpp_specified;
- int xres, yres;
- int bpp;
- int refresh;
- bool rb;
- bool interlace;
- bool cvt;
- bool margins;
- enum drm_connector_force force;
-};
-
/**
* drm_mode_is_stereo - check for stereo mode flags
* @mode: drm_display_mode to check