drm_connector.h (f1781e9bb2dd2305d8d7ffbede1888ae22119557) | drm_connector.h (66660d4cf21b7dfcb258d8a51734963802693796) |
---|---|
1/* 2 * Copyright (c) 2016 Intel Corporation 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and its 5 * documentation for any purpose is hereby granted without fee, provided that 6 * the above copyright notice appear in all copies and that both that copyright 7 * notice and this permission notice appear in supporting documentation, and 8 * that the name of the copyright holders not be used in advertising or --- 256 unchanged lines hidden (view full) --- 265 int max_tmds_clock; 266 267 /** 268 * @dvi_dual: Dual-link DVI sink? 269 */ 270 bool dvi_dual; 271 272 /** | 1/* 2 * Copyright (c) 2016 Intel Corporation 3 * 4 * Permission to use, copy, modify, distribute, and sell this software and its 5 * documentation for any purpose is hereby granted without fee, provided that 6 * the above copyright notice appear in all copies and that both that copyright 7 * notice and this permission notice appear in supporting documentation, and 8 * that the name of the copyright holders not be used in advertising or --- 256 unchanged lines hidden (view full) --- 265 int max_tmds_clock; 266 267 /** 268 * @dvi_dual: Dual-link DVI sink? 269 */ 270 bool dvi_dual; 271 272 /** |
273 * @has_hdmi_infoframe: Does the sink support the HDMI infoframe? 274 */ 275 bool has_hdmi_infoframe; 276 277 /** | |
278 * @edid_hdmi_dc_modes: Mask of supported hdmi deep color modes. Even 279 * more stuff redundant with @bus_formats. 280 */ 281 u8 edid_hdmi_dc_modes; 282 283 /** 284 * @cea_rev: CEA revision of the HDMI sink. 285 */ 286 u8 cea_rev; 287 288 /** 289 * @hdmi: advance features of a HDMI sink. 290 */ 291 struct drm_hdmi_info hdmi; | 273 * @edid_hdmi_dc_modes: Mask of supported hdmi deep color modes. Even 274 * more stuff redundant with @bus_formats. 275 */ 276 u8 edid_hdmi_dc_modes; 277 278 /** 279 * @cea_rev: CEA revision of the HDMI sink. 280 */ 281 u8 cea_rev; 282 283 /** 284 * @hdmi: advance features of a HDMI sink. 285 */ 286 struct drm_hdmi_info hdmi; |
287 288 /** 289 * @non_desktop: Non desktop display (HMD). 290 */ 291 bool non_desktop; |
|
292}; 293 294int drm_display_info_set_bus_formats(struct drm_display_info *info, 295 const u32 *formats, 296 unsigned int num_formats); 297 298/** 299 * struct drm_tv_connector_state - TV connector related states --- 399 unchanged lines hidden (view full) --- 699 * @edid_blob_ptr: DRM property containing EDID if present 700 * @properties: property tracking for this connector 701 * @dpms: current dpms state 702 * @helper_private: mid-layer private data 703 * @cmdline_mode: mode line parsed from the kernel cmdline for this connector 704 * @force: a DRM_FORCE_<foo> state for forced mode sets 705 * @override_edid: has the EDID been overwritten through debugfs for testing? 706 * @encoder_ids: valid encoders for this connector | 292}; 293 294int drm_display_info_set_bus_formats(struct drm_display_info *info, 295 const u32 *formats, 296 unsigned int num_formats); 297 298/** 299 * struct drm_tv_connector_state - TV connector related states --- 399 unchanged lines hidden (view full) --- 699 * @edid_blob_ptr: DRM property containing EDID if present 700 * @properties: property tracking for this connector 701 * @dpms: current dpms state 702 * @helper_private: mid-layer private data 703 * @cmdline_mode: mode line parsed from the kernel cmdline for this connector 704 * @force: a DRM_FORCE_<foo> state for forced mode sets 705 * @override_edid: has the EDID been overwritten through debugfs for testing? 706 * @encoder_ids: valid encoders for this connector |
707 * @encoder: encoder driving this connector, if any |
|
707 * @eld: EDID-like data, if present 708 * @latency_present: AV delay info from ELD, if found 709 * @video_latency: video latency info from ELD, if found 710 * @audio_latency: audio latency info from ELD, if found 711 * @null_edid_counter: track sinks that give us all zeros for the EDID 712 * @bad_edid_counter: track sinks that give us an EDID with invalid checksum 713 * @edid_corrupt: indicates whether the last read EDID was corrupt 714 * @debugfs_entry: debugfs directory for this connector --- 153 unchanged lines hidden (view full) --- 868 869 /* forced on connector */ 870 struct drm_cmdline_mode cmdline_mode; 871 enum drm_connector_force force; 872 bool override_edid; 873 874#define DRM_CONNECTOR_MAX_ENCODER 3 875 uint32_t encoder_ids[DRM_CONNECTOR_MAX_ENCODER]; | 708 * @eld: EDID-like data, if present 709 * @latency_present: AV delay info from ELD, if found 710 * @video_latency: video latency info from ELD, if found 711 * @audio_latency: audio latency info from ELD, if found 712 * @null_edid_counter: track sinks that give us all zeros for the EDID 713 * @bad_edid_counter: track sinks that give us an EDID with invalid checksum 714 * @edid_corrupt: indicates whether the last read EDID was corrupt 715 * @debugfs_entry: debugfs directory for this connector --- 153 unchanged lines hidden (view full) --- 869 870 /* forced on connector */ 871 struct drm_cmdline_mode cmdline_mode; 872 enum drm_connector_force force; 873 bool override_edid; 874 875#define DRM_CONNECTOR_MAX_ENCODER 3 876 uint32_t encoder_ids[DRM_CONNECTOR_MAX_ENCODER]; |
876 /** 877 * @encoder: Currently bound encoder driving this connector, if any. 878 * Only really meaningful for non-atomic drivers. Atomic drivers should 879 * instead look at &drm_connector_state.best_encoder, and in case they 880 * need the CRTC driving this output, &drm_connector_state.crtc. 881 */ 882 struct drm_encoder *encoder; | 877 struct drm_encoder *encoder; /* currently active encoder */ |
883 884#define MAX_ELD_BYTES 128 885 /* EDID bits */ 886 uint8_t eld[MAX_ELD_BYTES]; 887 bool latency_present[2]; 888 int video_latency[2]; /* [0]: progressive, [1]: interlaced */ 889 int audio_latency[2]; 890 int null_edid_counter; /* needed to workaround some HW bugs where we get all 0s */ --- 201 unchanged lines hidden --- | 878 879#define MAX_ELD_BYTES 128 880 /* EDID bits */ 881 uint8_t eld[MAX_ELD_BYTES]; 882 bool latency_present[2]; 883 int video_latency[2]; /* [0]: progressive, [1]: interlaced */ 884 int audio_latency[2]; 885 int null_edid_counter; /* needed to workaround some HW bugs where we get all 0s */ --- 201 unchanged lines hidden --- |