Home
last modified time | relevance | path

Searched refs:raw_edid (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_vidi.c43 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c58 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()
Damdgpu_dm.c2351 (struct edid *)sink->dc_edid.raw_edid; in amdgpu_dm_update_connector_after_detect()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_panel.c268 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c1570 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 …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_edid.h504 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/gma500/
Doaktrail_hdmi.c547 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-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_types.h204 uint8_t raw_edid[DC_MAX_EDID_BUFFER_SIZE]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c780 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()
Ddc.c2955 memmove(dc_sink->dc_edid.raw_edid, edid, len); in dc_link_add_remote_sink()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch485 int drm_edid_header_is_valid(const u8 *raw_edid);
486 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid,