/kernel/linux/linux-5.10/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() 201 /* if raw_edid isn't same as fake data then it can't be tested. */ 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() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_vidi.c | 44 struct edid *raw_edid; member 199 if (!ctx->raw_edid) in vidi_store_connection() 200 ctx->raw_edid = (struct edid *)fake_edid_info; in vidi_store_connection() 202 /* if raw_edid isn't same as fake data then it can't be tested. */ in vidi_store_connection() 203 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_store_connection() 249 struct edid *raw_edid; in vidi_connection_ioctl() local 251 raw_edid = (struct edid *)(unsigned long)vidi->edid; in vidi_connection_ioctl() 252 if (!drm_edid_is_valid(raw_edid)) { in vidi_connection_ioctl() 257 ctx->raw_edid = drm_edid_duplicate(raw_edid); in vidi_connection_ioctl() [all...] |
/kernel/linux/linux-5.10/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.length-1]); in dm_helpers_read_local_edid()
|
H A D | amdgpu_dm.c | 2352 (struct edid *)sink->dc_edid.raw_edid; in amdgpu_dm_update_connector_after_detect()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 95 struct edid *edid_buf = edid ? (struct edid *) edid->raw_edid : NULL; in dm_helpers_parse_edid_caps() 126 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps() 140 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps() 908 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length); in dm_helpers_read_local_edid() 942 &sink->dc_edid.raw_edid[sink->dc_edid.length-1], in dm_helpers_read_local_edid()
|
H A D | amdgpu_dm.c | 3209 (struct edid *)sink->dc_edid.raw_edid; in amdgpu_dm_update_connector_after_detect() 6418 memmove(dc_em_sink->dc_edid.raw_edid, edid, (edid->extensions + 1) * EDID_LENGTH); in amdgpu_dm_connector_funcs_force()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_edid.h | 504 int drm_edid_header_is_valid(const u8 *raw_edid); 505 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_edid.c | 1564 * @raw_edid: pointer to raw base EDID block 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() 1651 * @raw_edid: pointer to raw EDID block 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() 2293 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure) drm_for_each_detailed_block() argument [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | oaktrail_hdmi.c | 550 static const unsigned char raw_edid[] = { variable 578 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes() 580 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 620 return (memcmp(old_edid->raw_edid, in is_same_edid() 621 new_edid->raw_edid, new_edid->length) == 0); in is_same_edid() 1123 &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE], in detect_link_and_local_sink() 1391 memmove(dc_sink->dc_edid.raw_edid, edid, len); in link_add_remote_sink()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 204 uint8_t raw_edid[DC_MAX_EDID_BUFFER_SIZE]; member
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_edid.h | 586 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_types.h | 154 uint8_t raw_edid[DC_MAX_EDID_BUFFER_SIZE]; member
|
/kernel/linux/linux-5.10/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 | 2969 memmove(dc_sink->dc_edid.raw_edid, edid, len); in dc_link_add_remote_sink()
|