/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_bios.c | 667 const struct edid *edid = drm_edid_raw(drm_edid); /* FIXME */ local 670 if (!edid) 673 edid_id = (const void *)&edid->mfg_id[0];
|
H A D | intel_dp.c | 1509 /* Get bpp from vbt only for panels that dont have bpp in edid */ 4574 intel_dp->compliance.test_data.edid = INTEL_DP_RESOLUTION_FAILSAFE; 4577 const struct edid *block = drm_edid_raw(intel_connector->detect_edid); 4588 intel_dp->compliance.test_data.edid = INTEL_DP_RESOLUTION_PREFERRED; 5484 /* Use panel fixed edid if we have one */ 5486 /* invalid edid */
|
H A D | intel_display_types.h | 1644 unsigned long edid; member in struct:intel_dp_compliance_data
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 131 kfree(aconnector->edid); 184 aconnector->edid = NULL; 300 if (!aconnector->edid) { 301 struct edid *edid; local 303 edid = drm_dp_mst_get_edid(connector, &aconnector->mst_root->mst_mgr, aconnector->mst_output_port); 305 if (!edid) { 343 aconnector->edid = edid; 360 (uint8_t *)aconnector->edid, [all...] |
H A D | amdgpu_dm.c | 3221 aconnector->edid); 3280 aconnector->edid = NULL; 3286 aconnector->edid = 3287 (struct edid *)sink->dc_edid.raw_edid; 3291 aconnector->edid); 3302 drm_connector_update_edid_property(connector, aconnector->edid); 3303 amdgpu_dm_update_freesync_caps(connector, aconnector->edid); 3312 aconnector->edid = NULL; 5488 * TODO: Fix edid parsing 6677 struct edid *edi local 6737 struct edid *edid; local 7443 amdgpu_dm_connector_ddc_get_modes(struct drm_connector *connector, struct edid *edid) argument 7565 amdgpu_dm_connector_add_freesync_modes(struct drm_connector *connector, struct edid *edid) argument 7584 struct edid *edid = amdgpu_dm_connector->edid; local 11167 parse_amd_vsdb(struct amdgpu_dm_connector *aconnector, struct edid *edid, struct amdgpu_hdmi_vsdb_info *vsdb_info) argument 11202 parse_hdmi_amd_vsdb(struct amdgpu_dm_connector *aconnector, struct edid *edid, struct amdgpu_hdmi_vsdb_info *vsdb_info) argument 11244 amdgpu_dm_update_freesync_caps(struct drm_connector *connector, struct edid *edid) argument [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.c | 1719 struct edid *edid; local 1722 edid = kmalloc(edid_size, GFP_KERNEL); 1723 if (edid) { 1724 memcpy((u8 *)edid, (u8 *)&fake_edid_record->ucFakeEDIDString[0], 1727 if (drm_edid_is_valid(edid)) { 1728 rdev->mode_info.bios_hardcoded_edid = edid; 1731 kfree(edid); 1738 /* empty fake edid record must be 3 bytes long */
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 611 * It's ok lvdsofs is wrong for nv4x edid case; dual_link is 1999 if (bios->fp.edid) 2000 return bios->fp.edid; 2017 return bios->fp.edid = &bios->data[offset];
|
/linux-master/drivers/gpu/drm/msm/dp/ |
H A D | dp_display.c | 373 struct edid *edid; local 387 edid = dp->panel->edid; 391 dp->audio_supported = drm_detect_monitor_audio(edid);
|
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 784 const struct edid *edid = drm_edid_raw(drm_edid); local 786 return edid && edid->revision >= 4 && 787 edid->input & DRM_EDID_INPUT_DIGITAL && 788 (edid->input & DRM_EDID_DIGITAL_TYPE_MASK) == DRM_EDID_DIGITAL_TYPE_DP; 849 * drm_dp_send_real_edid_checksum() - send back real edid checksum value 851 * @real_edid_checksum: real edid checksum for the last block 889 /* send back checksum for the last edid extension block data */
|
/linux-master/include/linux/ |
H A D | fb.h | 761 extern int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var); 763 extern void fb_edid_to_monspecs(unsigned char *edid,
|
/linux-master/include/drm/ |
H A D | drm_bridge.h | 43 struct edid; 583 * An edid structure newly allocated with drm_edid_alloc() or returned 585 * otherwise. The caller is responsible for freeing the returned edid
|
/linux-master/drivers/video/fbdev/ |
H A D | uvesafb.c | 26 #include <video/edid.h> 31 #include "edid.h"
|
H A D | s3fb.c | 1294 u8 *edid = fb_ddc_read(&par->ddc_adapter); local 1296 if (edid) { 1297 fb_edid_to_monspecs(edid, &info->monspecs); 1298 kfree(edid);
|
/linux-master/drivers/video/fbdev/core/ |
H A D | fbmon.c | 33 #include <video/edid.h> 36 #include "../edid.h" 145 static int check_edid(unsigned char *edid) argument 147 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4]; 170 if (edid[i] != edid_v1_header[i]) { 177 b = edid + EDID_STRUCT_DISPLAY; 184 b = edid + DETAILED_TIMING_DESCRIPTIONS_START; 207 static void fix_edid(unsigned char *edid, int fix) argument 215 memcpy(edid, edid_v1_header, 8); 219 b = edid 256 edid_checksum(unsigned char *edid) argument 277 edid_check_header(unsigned char *edid) argument 616 fb_create_modedb(unsigned char *edid, int *dbsize, const struct fb_monspecs *specs) argument 695 fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs) argument 776 get_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument 894 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument 937 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument 1405 fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var) argument 1409 fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs) argument 1496 unsigned char *edid = NULL; local [all...] |
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 415 struct edid *edid; local 438 edid = drm_get_edid(connector, vc4_hdmi->ddc); 439 if (!edid) 442 cec_s_phys_addr_from_edid(vc4_hdmi->cec_adap, edid); 443 kfree(edid); 496 struct edid *edid; local 509 edid = drm_get_edid(connector, vc4_hdmi->ddc); 510 cec_s_phys_addr_from_edid(vc4_hdmi->cec_adap, edid); [all...] |
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_enc.c | 217 struct edid *edid; local 220 edid = drm_get_edid(connector, hdmi->ddc_i2c ?: hdmi->i2c); 221 if (!edid) 227 drm_connector_update_edid_property(connector, edid); 228 cec_s_phys_addr_from_edid(hdmi->cec_adap, edid); 229 ret = drm_add_edid_modes(connector, edid); 230 kfree(edid);
|
/linux-master/drivers/gpu/drm/imx/ipuv3/ |
H A D | parallel-display.c | 37 void *edid; member in struct:imx_parallel_display 65 if (imxpd->edid) { 66 drm_connector_update_edid_property(connector, imxpd->edid); 67 num_modes = drm_add_edid_modes(connector, imxpd->edid); 332 edidp = of_get_property(np, "edid", &edid_len); 334 imxpd->edid = devm_kmemdup(dev, edidp, edid_len, GFP_KERNEL);
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 886 struct edid *edid; local 892 edid = drm_get_edid(connector, hdata->ddc_adpt); 893 if (!edid) 899 edid->width_cm, edid->height_cm); 901 drm_connector_update_edid_property(connector, edid); 902 cec_notifier_set_phys_addr_from_edid(hdata->notifier, edid); 904 ret = drm_add_edid_modes(connector, edid); 906 kfree(edid); [all...] |
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/gpu/drm/amd/display/dc/inc/ |
H A D | link.h | 112 const uint8_t *edid,
|
/linux-master/samples/vfio-mdev/ |
H A D | mbochs.c | 369 struct vfio_region_gfx_edid *edid; local 374 case 0x000 ... 0x3ff: /* edid block */ 375 edid = &mdev_state->edid_regs; 376 if (edid->link_state != VFIO_DEVICE_GFX_LINK_STATE_UP || 377 offset >= edid->edid_size) {
|
/linux-master/include/media/ |
H A D | cec.h | 327 struct edid; 342 const struct edid *edid); 418 * @edid: pointer to the EDID data 426 u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, 454 const struct edid *edid) 458 static inline u16 cec_get_edid_phys_addr(const u8 *edid, unsigned int size, argument 496 * @edid: the EDID 509 static inline unsigned int cec_get_edid_spa_location(const u8 *edid, argument 453 cec_s_phys_addr_from_edid(struct cec_adapter *adap, const struct edid *edid) argument [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-ioctl.c | 3112 struct v4l2_edid *edid = parg; local 3114 if (edid->blocks) { 3115 if (edid->blocks > 256) { 3119 *user_ptr = (void __user *)edid->edid; 3120 *kernel_ptr = (void **)&edid->edid; 3121 *array_size = edid->blocks * 128;
|
/linux-master/drivers/media/i2c/ |
H A D | tda1997x.c | 273 u8 edid[256]; member in struct:tda1997x_state::__anon334 276 } edid; member in struct:tda1997x_state 572 state->edid.present = 1; 1844 static int tda1997x_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument 1848 v4l_dbg(1, debug, state->client, "%s pad=%d\n", __func__, edid->pad); 1849 memset(edid->reserved, 0, sizeof(edid->reserved)); 1851 if (edid->start_block == 0 && edid->blocks == 0) { 1852 edid 1871 tda1997x_set_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) argument [all...] |
H A D | tc358743.c | 90 /* edid */ 1726 struct v4l2_subdev_edid *edid) 1730 memset(edid->reserved, 0, sizeof(edid->reserved)); 1732 if (edid->pad != 0) 1735 if (edid->start_block == 0 && edid->blocks == 0) { 1736 edid->blocks = state->edid_blocks_written; 1743 if (edid->start_block >= state->edid_blocks_written || 1744 edid 1725 tc358743_g_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) argument 1756 tc358743_s_edid(struct v4l2_subdev *sd, struct v4l2_subdev_edid *edid) argument [all...] |