summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorJesse Barnes <jesse.barnes@intel.com>2008-02-15 16:13:21 -0800
committerJesse Barnes <jesse.barnes@intel.com>2008-02-15 16:13:21 -0800
commit2b1c9cd696049d23845870329d2b61a5873f7b13 (patch)
tree09ed731a56d76c66c091a13768485401496a073e /linux-core/drm_crtc.h
parent088b38382962a9dccca59a53af2444a1fe8bc18f (diff)
i915: initial (and untested) TV out support
Ported from xf86-video-intel. Still need to tie in TV modes somehow, though preferably w/o using the properties mechanism.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index db5fd34c..43ef95ed 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -548,6 +548,13 @@ struct drm_mode_config {
struct drm_property *connector_type_property;
struct drm_property *connector_num_property;
+ /* TV properties */
+ struct drm_property *tv_mode_property;
+ struct drm_property *tv_left_margin_property;
+ struct drm_property *tv_right_margin_property;
+ struct drm_property *tv_top_margin_property;
+ struct drm_property *tv_bottom_margin_property;
+
/* hotplug */
uint32_t hotplug_counter;
};
@@ -595,7 +602,11 @@ extern int drm_mode_vrefresh(struct drm_display_mode *mode);
extern void drm_mode_set_crtcinfo(struct drm_display_mode *p,
int adjust_flags);
extern void drm_mode_output_list_update(struct drm_output *output);
-extern int drm_mode_output_update_edid_property(struct drm_output *output, struct edid *edid);
+extern int drm_mode_output_update_edid_property(struct drm_output *output,
+ struct edid *edid);
+extern int drm_output_property_set_value(struct drm_output *output,
+ struct drm_property *property,
+ uint64_t value);
extern struct drm_display_mode *drm_crtc_mode_create(struct drm_device *dev);
extern bool drm_initial_config(struct drm_device *dev, bool cangrow);
extern void drm_framebuffer_set_object(struct drm_device *dev,