Home
last modified time | relevance | path

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

/drivers/gpu/drm/exynos/
Dexynos_drm_vidi.c42 struct edid *raw_edid; member
197 if (!ctx->raw_edid) in vidi_store_connection()
198 ctx->raw_edid = (struct edid *)fake_edid_info; in vidi_store_connection()
201 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_store_connection()
241 struct edid *raw_edid; in vidi_connection_ioctl() local
243 raw_edid = (struct edid *)(unsigned long)vidi->edid; in vidi_connection_ioctl()
244 if (!drm_edid_is_valid(raw_edid)) { in vidi_connection_ioctl()
249 ctx->raw_edid = drm_edid_duplicate(raw_edid); in vidi_connection_ioctl()
250 if (!ctx->raw_edid) { in vidi_connection_ioctl()
260 if (ctx->raw_edid && ctx->raw_edid != in vidi_connection_ioctl()
[all …]
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c57 struct edid *edid_buf = (struct edid *) edid->raw_edid; in dm_helpers_parse_edid_caps()
97 (struct edid *) edid->raw_edid); in dm_helpers_parse_edid_caps()
99 sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads); in dm_helpers_parse_edid_caps()
116 sadb_count = drm_edid_to_speaker_allocation((struct edid *) edid->raw_edid, &sadb); in dm_helpers_parse_edid_caps()
600 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length); in dm_helpers_read_local_edid()
634 &sink->dc_edid.raw_edid[sink->dc_edid.length-1], in dm_helpers_read_local_edid()
Damdgpu_dm.c1428 (struct edid *) sink->dc_edid.raw_edid; in amdgpu_dm_update_connector_after_detect()
/drivers/gpu/drm/
Ddrm_edid.c1337 int drm_edid_header_is_valid(const u8 *raw_edid) in drm_edid_header_is_valid() argument
1342 if (raw_edid[i] == edid_header[i]) in drm_edid_header_is_valid()
1358 static int drm_edid_block_checksum(const u8 *raw_edid) in drm_edid_block_checksum() argument
1363 csum += raw_edid[i]; in drm_edid_block_checksum()
1388 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid, in drm_edid_block_valid() argument
1392 struct edid *edid = (struct edid *)raw_edid; in drm_edid_block_valid()
1394 if (WARN_ON(!raw_edid)) in drm_edid_block_valid()
1401 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid()
1414 memcpy(raw_edid, edid_header, sizeof(edid_header)); in drm_edid_block_valid()
1422 csum = drm_edid_block_checksum(raw_edid); in drm_edid_block_valid()
[all …]
/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c548 static const unsigned char raw_edid[] = { variable
576 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()
578 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()
/drivers/gpu/drm/amd/display/dc/
Ddc_types.h177 uint8_t raw_edid[DC_MAX_EDID_BUFFER_SIZE]; member
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c680 return (memcmp(old_edid->raw_edid, new_edid->raw_edid, new_edid->length) == 0); in is_same_edid()
980 &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE], in dc_link_detect()
Ddc.c2417 memmove(dc_sink->dc_edid.raw_edid, edid, len); in dc_link_add_remote_sink()