Searched refs:edid (Results 1 - 25 of 106) sorted by relevance

12345

/drivers/gpu/drm/gma500/
H A Dpsb_intel_modes.c65 struct edid *edid; local
68 edid = drm_get_edid(connector, adapter);
69 if (edid) {
70 drm_mode_connector_update_edid_property(connector, edid);
71 ret = drm_add_edid_modes(connector, edid);
72 kfree(edid);
H A Dcdv_intel_hdmi.c132 struct edid *edid = NULL; local
135 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter);
139 if (edid) {
140 if (edid->input & DRM_EDID_INPUT_DIGITAL) {
143 drm_detect_hdmi_monitor(edid);
145 drm_detect_monitor_audio(edid);
147 kfree(edid);
214 struct edid *edid local
[all...]
H A Doaktrail_lvds.c306 struct edid *edid; local
371 edid = drm_get_edid(connector, i2c_adap);
372 if (edid) {
374 edid);
375 drm_add_edid_modes(connector, edid);
376 kfree(edid);
/drivers/gpu/drm/i915/
H A Dintel_modes.c35 * intel_connector_update_modes - update connector from edid
37 * @edid: previously read EDID information
40 struct edid *edid)
44 drm_mode_connector_update_edid_property(connector, edid);
45 ret = drm_add_edid_modes(connector, edid);
46 drm_edid_to_eld(connector, edid);
61 struct edid *edid; local
64 edid
39 intel_connector_update_modes(struct drm_connector *connector, struct edid *edid) argument
[all...]
/drivers/gpu/drm/udl/
H A Dudl_connector.c60 struct edid *edid; local
63 edid = (struct edid *)udl_get_edid(udl);
64 if (!edid) {
71 * blocks then the drm edid code expects them to be present, so patch
74 edid->checksum += edid->extensions;
75 edid->extensions = 0;
77 drm_mode_connector_update_edid_property(connector, edid);
[all...]
/drivers/gpu/drm/
H A Ddrm_edid.c38 #define version_greater(edid, maj, min) \
39 (((edid)->version > (maj)) || \
40 ((edid)->version == (maj) && (edid)->revision > (min)))
78 struct edid *edid; member in struct:detailed_mode_closure
1032 struct edid *edid = (struct edid *)raw_edid; local
1066 if (edid
1099 drm_edid_is_valid(struct edid *edid) argument
1292 struct edid *edid = NULL; local
1307 drm_edid_duplicate(const struct edid *edid) argument
1322 edid_vendor(struct edid *edid, char *vendor) argument
1340 edid_get_quirks(struct edid *edid) argument
1486 struct edid *edid = (struct edid *)raw_edid; local
1520 drm_monitor_supports_rb(struct edid *edid) argument
1541 drm_gtf2_hbreak(struct edid *edid) argument
1549 drm_gtf2_2c(struct edid *edid) argument
1557 drm_gtf2_m(struct edid *edid) argument
1565 drm_gtf2_k(struct edid *edid) argument
1573 drm_gtf2_2j(struct edid *edid) argument
1584 standard_timing_level(struct edid *edid) argument
1618 drm_mode_std(struct drm_connector *connector, struct edid *edid, struct std_timing *t) argument
1777 drm_mode_detailed(struct drm_device *dev, struct edid *edid, struct detailed_timing *timing, u32 quirks) argument
1878 mode_in_hsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) argument
1895 mode_in_vsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) argument
1912 range_pixel_clock(struct edid *edid, u8 *t) argument
1927 mode_in_range(const struct drm_display_mode *mode, struct edid *edid, struct detailed_timing *timing) argument
1973 drm_dmt_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) argument
2008 drm_gtf_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) argument
2036 drm_cvt_modes_for_range(struct drm_connector *connector, struct edid *edid, struct detailed_timing *timing) argument
2103 add_inferred_modes(struct drm_connector *connector, struct edid *edid) argument
2165 add_established_modes(struct drm_connector *connector, struct edid *edid) argument
2201 struct edid *edid = closure->edid; local
2228 add_standard_modes(struct drm_connector *connector, struct edid *edid) argument
2316 add_cvt_modes(struct drm_connector *connector, struct edid *edid) argument
2360 add_detailed_modes(struct drm_connector *connector, struct edid *edid, u32 quirks) argument
2392 drm_find_cea_extension(struct edid *edid) argument
2535 add_alternate_cea_modes(struct drm_connector *connector, struct edid *edid) argument
2966 add_cea_modes(struct drm_connector *connector, struct edid *edid) argument
3061 drm_edid_to_eld(struct drm_connector *connector, struct edid *edid) argument
3148 drm_edid_to_sad(struct edid *edid, struct cea_sad **sads) argument
3209 drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb) argument
3329 drm_detect_hdmi_monitor(struct edid *edid) argument
3367 drm_detect_monitor_audio(struct edid *edid) argument
3412 drm_rgb_quant_range_selectable(struct edid *edid) argument
3447 drm_assign_hdmi_deep_color_info(struct edid *edid, struct drm_display_info *info, struct drm_connector *connector) argument
3547 drm_add_display_info(struct edid *edid, struct drm_display_info *info, struct drm_connector *connector) argument
3630 drm_add_edid_modes(struct drm_connector *connector, struct edid *edid) argument
[all...]
H A Ddrm_edid_load.c36 "edid/800x600.bin",
37 "edid/1024x768.bin",
38 "edid/1280x1024.bin",
39 "edid/1600x1200.bin",
40 "edid/1680x1050.bin",
41 "edid/1920x1080.bin",
155 static int edid_size(const u8 *edid, int data_size) argument
160 return (edid[0x7e] + 1) * EDID_LENGTH;
168 u8 *edid; local
209 edid
267 struct edid *edid; local
[all...]
H A Ddrm_debugfs.c310 struct drm_property_blob *edid = connector->edid_blob_ptr; local
312 if (connector->override_edid && edid)
313 seq_write(m, edid->data, edid->length);
331 struct edid *edid; local
338 edid = (struct edid *) buf;
344 EDID_LENGTH * (1 + edid->extensions) > len)
348 ret = drm_mode_connector_update_edid_property(connector, edid);
[all...]
/drivers/video/fbdev/core/
H A Dfbmon.c33 #include <video/edid.h>
40 #include "../edid.h"
149 static int check_edid(unsigned char *edid) argument
151 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4];
174 if (edid[i] != edid_v1_header[i]) {
181 b = edid + EDID_STRUCT_DISPLAY;
188 b = edid + DETAILED_TIMING_DESCRIPTIONS_START;
211 static void fix_edid(unsigned char *edid, int fix) argument
219 memcpy(edid, edid_v1_header, 8);
223 b = edid
260 edid_checksum(unsigned char *edid) argument
281 edid_check_header(unsigned char *edid) argument
604 fb_create_modedb(unsigned char *edid, int *dbsize) argument
681 fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs) argument
762 get_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
880 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument
923 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
992 fb_edid_add_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
1478 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument
1482 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
1486 fb_edid_add_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument
1573 unsigned char *edid = NULL; local
[all...]
H A Dfb_ddc.c18 #include "../edid.h"
57 unsigned char *edid = NULL; local
86 edid = fb_do_probe_ddc_edid(adapter);
102 if (edid)
112 return edid;
/drivers/gpu/drm/bridge/
H A Dptn3460.c41 struct edid *edid; member in struct:ptn3460_bridge
91 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */
95 DRM_ERROR("Failed to transfer edid to sram, ret=%d\n", ret);
105 DRM_ERROR("Failed to write edid value, ret=%d\n", ret);
138 DRM_ERROR("Select edid failed ret=%d\n", ret);
190 u8 *edid; local
196 if (ptn_bridge->edid)
197 return drm_add_edid_modes(connector, ptn_bridge->edid);
202 edid
[all...]
/drivers/gpu/drm/tegra/
H A Doutput.c18 struct edid *edid = NULL; local
31 if (output->edid)
32 edid = kmemdup(output->edid, sizeof(*edid), GFP_KERNEL);
34 edid = drm_get_edid(connector, output->ddc);
36 drm_mode_connector_update_edid_property(connector, edid);
38 if (edid) {
39 err = drm_add_edid_modes(connector, edid);
[all...]
/drivers/video/fbdev/via/
H A Dvia_aux_edid.c27 #include "../edid.h"
36 unsigned char edid[EDID_LENGTH]; local
48 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) {
49 fb_edid_to_monspecs(edid, spec);
/drivers/media/i2c/
H A Dadv7511.c106 struct adv7511_state_edid edid; member in struct:adv7511_state
415 struct adv7511_state_edid *edid = &state->edid; local
443 edid->segments ? "found" : "no",
444 edid->blocks);
483 v4l2_info(sd, "i2c edid addr: 0x%x\n", state->i2c_edid_addr);
778 static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
782 if (edid->pad != 0)
784 if ((edid->blocks == 0) || (edid
1077 struct adv7511_state_edid *edid = &state->edid; local
[all...]
H A Dad9389b.c98 struct ad9389b_state_edid edid; member in struct:ad9389b_state
356 struct ad9389b_state_edid *edid = &state->edid; local
389 edid->segments ? "found" : "no", edid->blocks);
677 static int ad9389b_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
681 if (edid->pad != 0)
683 if (edid->blocks == 0 || edid->blocks > 256)
685 if (!state->edid
1087 struct ad9389b_state_edid *edid = &state->edid; local
[all...]
H A Dadv7604.c154 u8 edid[256]; member in struct:adv7604_state::__anon2169
157 } edid; member in struct:adv7604_state
628 adv7604_set_hpd(state, state->edid.present);
1995 static int adv7604_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
2000 if (edid->pad > ADV7604_PAD_HDMI_PORT_D)
2002 if (edid->blocks == 0)
2004 if (edid->blocks > 2)
2006 if (edid->start_block > 1)
2008 if (edid->start_block == 1)
2009 edid
2035 get_edid_spa_location(const u8 *edid) argument
2063 adv7604_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument
[all...]
/drivers/video/fbdev/nvidia/
H A Dnv_i2c.c26 #include "../edid.h"
155 u8 *edid = NULL; local
158 edid = fb_ddc_read(&par->chan[conn - 1].adapter);
160 if (!edid && conn == 1) {
165 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL);
168 *out_edid = edid;
170 return (edid) ? 0 : 1;
/drivers/gpu/drm/exynos/
H A Dexynos_drm_connector.c36 struct edid *edid = NULL; local
42 * is called to get edid data through i2c interface else
49 edid = display->ops->get_edid(display, connector);
50 if (IS_ERR_OR_NULL(edid)) {
51 ret = PTR_ERR(edid);
52 edid = NULL;
57 count = drm_add_edid_modes(connector, edid);
59 DRM_ERROR("Add edid modes failed %d\n", count);
63 drm_mode_connector_update_edid_property(connector, edid);
[all...]
H A Dexynos_drm_vidi.c56 struct edid *raw_edid;
380 /* use fake edid data for test. */
382 ctx->raw_edid = (struct edid *)fake_edid_info;
385 if (ctx->raw_edid != (struct edid *)fake_edid_info) {
386 DRM_DEBUG_KMS("edid data is not fake data.\n");
439 struct edid *raw_edid = (struct edid *)(uint32_t)vidi->edid;
441 DRM_DEBUG_KMS("edid data is invalid.\n");
452 * only if raw edid dat
494 struct edid *edid; local
[all...]
/drivers/gpu/drm/nouveau/core/engine/disp/
H A Doutpdp.c44 ret = nv_rdaux(outp->base.edid, DPCD_LC00_LINK_BW_SET, link, 2);
59 ret = nv_rdaux(outp->base.edid, DPCD_LS02, stat, 3);
108 struct nouveau_i2c_port *port = outp->base.edid;
129 struct nouveau_i2c_port *port = outp->base.edid;
132 ret = nv_rdaux(outp->base.edid, DPCD_RC00_DPCD_REV,
235 if (!outp->base.edid) {
260 .port = outp->base.edid->index,
274 .port = outp->base.edid->index,
H A Dpiornv50.c55 outp->edid = i2c->find_type(i2c, NV_I2C_TYPE_EXTDDC(outp->info.extdev));
77 struct nouveau_i2c_port *port = outp->base.edid;
92 struct nouveau_i2c_port *port = outp->base.edid;
101 struct nouveau_i2c_port *port = outp->base.edid;
122 outp->base.edid = i2c->find_type(i2c, NV_I2C_TYPE_EXTAUX(
/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.h80 struct edid *edid; member in struct:nouveau_connector
H A Dnouveau_connector.c104 kfree(nv_connector->edid);
181 const void *edid = of_get_property(cn, "EDID", NULL); local
184 if (nv_encoder->dcb->i2c_index == idx && edid) {
185 nv_connector->edid =
186 kmemdup(edid, EDID_LENGTH, GFP_KERNEL);
250 if (nv_connector->edid) {
252 kfree(nv_connector->edid);
253 nv_connector->edid = NULL;
262 nv_connector->edid = drm_get_edid(connector, &i2c->adapter);
264 nv_connector->edid);
389 struct edid *edid = local
[all...]
/drivers/media/platform/vivid/
H A Dvivid-vid-common.c542 struct v4l2_edid *edid)
547 memset(edid->reserved, 0, sizeof(edid->reserved));
549 if (edid->pad >= dev->num_inputs)
551 if (dev->input_type[edid->pad] != HDMI)
554 if (edid->pad >= dev->num_outputs)
556 if (dev->output_type[edid->pad] != HDMI)
559 if (edid->start_block == 0 && edid->blocks == 0) {
560 edid
541 vidioc_g_edid(struct file *file, void *_fh, struct v4l2_edid *edid) argument
[all...]
/drivers/video/fbdev/savage/
H A Dsavagefb-i2c.c221 u8 *edid; local
224 edid = fb_ddc_read(&par->chan.adapter);
226 edid = NULL;
228 if (!edid) {
233 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL);
236 *out_edid = edid;
238 return (edid) ? 0 : 1;

Completed in 829 milliseconds

12345