| /OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_vidi.c | 43 struct edid *raw_edid; member 198 if (!ctx->raw_edid) in vidi_store_connection() 199 ctx->raw_edid = (struct edid *)fake_edid_info; in vidi_store_connection() 202 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_store_connection() 248 struct edid *raw_edid; in vidi_connection_ioctl() local 250 raw_edid = (struct edid *)(unsigned long)vidi->edid; in vidi_connection_ioctl() 251 if (!drm_edid_is_valid(raw_edid)) { in vidi_connection_ioctl() 256 ctx->raw_edid = drm_edid_duplicate(raw_edid); in vidi_connection_ioctl() 257 if (!ctx->raw_edid) { in vidi_connection_ioctl() 267 if (ctx->raw_edid && ctx->raw_edid != in vidi_connection_ioctl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 58 struct edid *edid_buf = (struct edid *) edid->raw_edid; in dm_helpers_parse_edid_caps() 98 (struct edid *) edid->raw_edid); in dm_helpers_parse_edid_caps() 100 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 114 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps() 588 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length); in dm_helpers_read_local_edid() 621 …drm_dp_send_real_edid_checksum(&aconnector->dm_dp_aux.aux, sink->dc_edid.raw_edid[sink->dc_edid.le… in dm_helpers_read_local_edid()
|
| H A D | amdgpu_dm.c | 2349 (struct edid *)sink->dc_edid.raw_edid; in amdgpu_dm_update_connector_after_detect()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_panel.c | 268 u8 *raw_edid; in dp_panel_get_edid_checksum() local 276 raw_edid = (u8 *)edid; in dp_panel_get_edid_checksum() 277 raw_edid += (edid->extensions * EDID_LENGTH); in dp_panel_get_edid_checksum() 278 last_block = (struct edid *)raw_edid; in dp_panel_get_edid_checksum() 281 drm_edid_block_valid(raw_edid, 1, false, &is_edid_corrupt); in dp_panel_get_edid_checksum()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_edid.c | 1570 int drm_edid_header_is_valid(const u8 *raw_edid) in drm_edid_header_is_valid() argument 1575 if (raw_edid[i] == edid_header[i]) in drm_edid_header_is_valid() 1589 static int drm_edid_block_checksum(const u8 *raw_edid) in drm_edid_block_checksum() argument 1595 csum += raw_edid[i]; in drm_edid_block_checksum() 1602 static bool drm_edid_block_checksum_diff(const u8 *raw_edid, u8 real_checksum) in drm_edid_block_checksum_diff() argument 1604 if (raw_edid[EDID_LENGTH - 1] != real_checksum) in drm_edid_block_checksum_diff() 1661 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid, in drm_edid_block_valid() argument 1665 struct edid *edid = (struct edid *)raw_edid; in drm_edid_block_valid() 1667 if (WARN_ON(!raw_edid)) in drm_edid_block_valid() 1674 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid() [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | edid.c | 3654 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument 3657 struct edid *edid = (struct edid *)raw_edid; in drm_for_each_detailed_block() 3665 for (i = 1; i <= raw_edid[0x7e]; i++) { in drm_for_each_detailed_block() 3666 u8 *ext = raw_edid + (i * EDID_SIZE); in drm_for_each_detailed_block() 5340 static int drm_edid_header_is_valid(const u8 *raw_edid) in drm_edid_header_is_valid() argument 5345 if (raw_edid[i] == edid_header[i]) in drm_edid_header_is_valid() 5351 static int drm_edid_block_checksum(const u8 *raw_edid) in drm_edid_block_checksum() argument 5357 csum += raw_edid[i]; in drm_edid_block_checksum() 5383 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid, in drm_edid_block_valid() argument 5388 struct edid *edid = (struct edid *)raw_edid; in drm_edid_block_valid() [all …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_edid.h | 525 int drm_edid_header_is_valid(const u8 *raw_edid); 526 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | oaktrail_hdmi.c | 547 static const unsigned char raw_edid[] = { variable 575 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes() 577 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_types.h | 204 uint8_t raw_edid[DC_MAX_EDID_BUFFER_SIZE]; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_link.c | 780 return (memcmp(old_edid->raw_edid, in is_same_edid() 781 new_edid->raw_edid, new_edid->length) == 0); in is_same_edid() 1125 &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE], in dc_link_detect_helper()
|
| H A D | dc.c | 2957 memmove(dc_sink->dc_edid.raw_edid, edid, len); in dc_link_add_remote_sink()
|