/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | display.h | 51 (intel_vgpu_port(vgpu, port)->edid && \ 52 intel_vgpu_port(vgpu, port)->edid->data_valid) 164 struct intel_vgpu_edid_data *edid; member in struct:intel_vgpu_port
|
H A D | Makefile | 10 gvt/edid.o \
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 48 static u32 edid_extract_panel_id(struct edid *edid) argument 50 return (u32)edid->mfg_id[0] << 24 | 51 (u32)edid->mfg_id[1] << 16 | 52 (u32)EDID_PRODUCT_ID(edid); 55 static void apply_edid_quirks(struct edid *edid, struct dc_edid_caps *edid_caps) argument 57 uint32_t panel_id = edid_extract_panel_id(edid); 81 * dm_helpers_parse_edid_caps() - Parse edid caps 84 * @edid 89 dm_helpers_parse_edid_caps( struct dc_link *link, const struct dc_edid *edid, struct dc_edid_caps *edid_caps) argument 904 struct edid *edid; local [all...] |
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.h | 35 int vidioc_g_edid(struct file *file, void *_fh, struct v4l2_edid *edid);
|
H A D | vivid-vid-common.c | 1036 struct v4l2_edid *edid) 1042 memset(edid->reserved, 0, sizeof(edid->reserved)); 1044 if (edid->pad >= dev->num_inputs) 1046 if (dev->input_type[edid->pad] != HDMI) 1052 if (edid->pad >= dev->num_outputs) 1054 if (dev->output_type[edid->pad] != HDMI) 1056 if (!dev->display_present[edid->pad]) 1058 bus_idx = dev->cec_output2bus_map[edid->pad]; 1061 if (edid 1035 vidioc_g_edid(struct file *file, void *_fh, struct v4l2_edid *edid) argument [all...] |
/linux-master/include/media/ |
H A D | v4l2-dv-timings.h | 248 u16 v4l2_get_edid_phys_addr(const u8 *edid, unsigned int size, 250 void v4l2_set_edid_phys_addr(u8 *edid, unsigned int size, u16 phys_addr);
|
/linux-master/drivers/gpu/drm/udl/ |
H A D | udl_drv.h | 54 /* last udl_detect edid */ 55 struct edid *edid; member in struct:udl_connector
|
/linux-master/drivers/media/cec/core/ |
H A D | cec-notifier.c | 205 const struct edid *edid) 212 if (edid && edid->extensions) 213 pa = cec_get_edid_phys_addr((const u8 *)edid, 214 EDID_LENGTH * (edid->extensions + 1), NULL); 204 cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, const struct edid *edid) argument
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | nxp-ptn3460.c | 94 /* Load the selected edid into SRAM (accessed at PTN3460_EDID_ADDR) */ 163 u8 *edid; local 169 edid = kmalloc(EDID_LENGTH, GFP_KERNEL); 170 if (!edid) { 175 ret = ptn3460_read_bytes(ptn_bridge, PTN3460_EDID_ADDR, edid, 178 kfree(edid); 182 drm_edid = drm_edid_alloc(edid, EDID_LENGTH); 301 ret = of_property_read_u32(dev->of_node, "edid-emulation",
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | oaktrail_lvds.c | 299 struct edid *edid; local 359 edid = NULL; 364 edid = drm_get_edid(connector, i2c_adap); 366 if (edid == NULL && dev_priv->lpc_gpio_base) { 370 edid = drm_get_edid(connector, i2c_adap); 385 if (edid) { 386 drm_connector_update_edid_property(connector, edid); 387 drm_add_edid_modes(connector, edid); 388 kfree(edid); [all...] |
H A D | psb_intel_sdvo.c | 1231 static struct edid * 1239 static struct edid * 1253 struct edid *edid; local 1255 edid = psb_intel_sdvo_get_edid(connector); 1257 if (edid == NULL && psb_intel_sdvo_multifunc_encoder(psb_intel_sdvo)) { 1266 edid = psb_intel_sdvo_get_edid(connector); 1267 if (edid) 1274 if (edid == NULL) 1279 * When there is no edid an 1345 struct edid *edid; local 1380 struct edid *edid; local 1576 struct edid *edid; local [all...] |
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_vidi.c | 44 struct edid *raw_edid; 198 /* use fake edid data for test. */ 200 ctx->raw_edid = (struct edid *)fake_edid_info; 203 if (ctx->raw_edid != (struct edid *)fake_edid_info) { 204 DRM_DEV_DEBUG_KMS(dev, "edid data is not fake data.\n"); 249 struct edid *raw_edid; 251 raw_edid = (struct edid *)(unsigned long)vidi->edid; 254 "edid data is invalid.\n"); 266 * only if raw edid dat 310 struct edid *edid; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | adv7604.c | 186 u8 edid[ADV76XX_MAX_EDID_BLOCKS * 128]; member in struct:adv76xx_state::__anon889 189 } edid; member in struct:adv76xx_state 546 adv76xx_set_hpd(state, state->edid.present); 2275 static int adv76xx_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument 2280 memset(edid->reserved, 0, sizeof(edid->reserved)); 2282 switch (edid->pad) { 2287 if (state->edid.present & (1 << edid->pad)) 2288 data = state->edid 2313 adv76xx_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument [all...] |
H A D | tda1997x.c | 273 u8 edid[256]; member in struct:tda1997x_state::__anon901 276 } edid; member in struct:tda1997x_state 572 state->edid.present = 1; 1841 static int tda1997x_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument 1845 v4l_dbg(1, debug, state->client, "%s pad=%d\n", __func__, edid->pad); 1846 memset(edid->reserved, 0, sizeof(edid->reserved)); 1848 if (edid->start_block == 0 && edid->blocks == 0) { 1849 edid 1868 tda1997x_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument [all...] |
/linux-master/drivers/video/fbdev/i810/ |
H A D | i810-i2c.c | 20 #include "../edid.h" 158 u8 *edid = NULL; local 162 edid = fb_ddc_read(&par->chan[conn].adapter); 168 edid = kmemdup(e, EDID_LENGTH, GFP_KERNEL); 172 *out_edid = edid; 174 return (edid) ? 0 : 1;
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_i2c.c | 16 #include "../edid.h" 144 u8 *edid; local 146 edid = fb_ddc_read(&rinfo->i2c[conn-1].adapter); 149 *out_edid = edid; 150 if (!edid) { 154 if (edid[0x14] & 0x80) {
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.h | 46 struct edid; 140 struct edid *edid; member in struct:nouveau_connector
|
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_cec.c | 371 * from drm_dp_cec_register_connector() edid == NULL, so in 385 void drm_dp_cec_set_edid(struct drm_dp_aux *aux, const struct edid *edid) argument 389 if (edid && edid->extensions) 390 pa = cec_get_edid_phys_addr((const u8 *)edid, 391 EDID_LENGTH * (edid->extensions + 1), NULL);
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_helpers.h | 64 const struct dc_edid *edid, 211 enum dc_edid_status dm_helpers_get_sbios_edid(struct dc_link *link, struct dc_edid *edid);
|
/linux-master/drivers/video/fbdev/riva/ |
H A D | rivafb-i2c.c | 25 #include "../edid.h" 154 u8 *edid = NULL; local 157 edid = fb_ddc_read(&par->chan[conn].adapter); 160 *out_edid = edid; 161 if (!edid)
|
/linux-master/include/video/ |
H A D | udlfb.h | 44 char *edid; /* null until we read edid from hw or get from sysfs */ member in struct:dlfb_data
|
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | connector-dvi.c | 169 u8 *edid, int len) 178 r = dvic_ddc_read(ddata->i2c_adapter, edid, l, 0); 185 if (len > EDID_LENGTH && edid[0x7e] > 0) { 188 r = dvic_ddc_read(ddata->i2c_adapter, edid + EDID_LENGTH, 168 dvic_read_edid(struct omap_dss_device *dssdev, u8 *edid, int len) argument
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_output_7a2000.c | 48 struct edid *edid; local 51 edid = drm_get_edid(connector, connector->ddc); 52 if (edid) { 53 drm_connector_update_edid_property(connector, edid); 54 num = drm_add_edid_modes(connector, edid); 55 kfree(edid);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 249 struct edid *amdgpu_connector_edid(struct drm_connector *connector) 254 if (amdgpu_connector->edid) { 255 return amdgpu_connector->edid; 257 struct edid *edid = kmemdup(edid_blob->data, edid_blob->length, GFP_KERNEL); local 259 if (edid) 260 amdgpu_connector->edid = edid; 262 return amdgpu_connector->edid; 265 static struct edid * [all...] |
/linux-master/drivers/gpu/drm/tiny/ |
H A D | bochs.c | 88 struct edid *edid; member in struct:bochs_device 197 /* check header to detect whenever edid support is enabled in qemu */ 202 kfree(bochs->edid); 203 bochs->edid = drm_do_get_edid(&bochs->connector, 205 if (bochs->edid == NULL) 306 kfree(bochs->edid); 478 if (bochs->edid) 479 count = drm_add_edid_modes(connector, bochs->edid); 510 if (bochs->edid) { [all...] |