Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/tests/
Digt_edid.c41 static bool edid_header_is_valid(const unsigned char *raw_edid) in edid_header_is_valid() argument
46 if (raw_edid[i] != edid_header[i]) in edid_header_is_valid()
55 static bool edid_block_checksum(const unsigned char *raw_edid) in edid_block_checksum() argument
61 csum += raw_edid[i]; in edid_block_checksum()
84 const uint8_t *raw_edid, *raw_block; variable
89 raw_edid = (uint8_t *) edid;
91 igt_assert_f(edid_header_is_valid(raw_edid),
94 igt_assert_f(edid_block_checksum(raw_edid),
97 igt_assert_f(raw_edid[126] == f->exts,
101 raw_block = raw_edid + (i + 1) * EDID_BLOCK_SIZE;
/external/igt-gpu-tools/lib/
Digt_kms.c168 generate_audio_edid(unsigned char raw_edid[static AUDIO_EDID_SIZE], in generate_audio_edid()
182 edid = (struct edid *) raw_edid; in generate_audio_edid()
220 static unsigned char raw_edid[AUDIO_EDID_SIZE] = {0}; in igt_kms_get_hdmi_audio_edid() local
237 return generate_audio_edid(raw_edid, true, &sad, &speaker_alloc); in igt_kms_get_hdmi_audio_edid()
244 static unsigned char raw_edid[AUDIO_EDID_SIZE] = {0}; in igt_kms_get_dp_audio_edid() local
261 return generate_audio_edid(raw_edid, false, &sad, &speaker_alloc); in igt_kms_get_dp_audio_edid()
274 static unsigned char raw_edid[256] = {0}; in igt_kms_get_4k_edid() local
287 edid = (struct edid *) raw_edid; in igt_kms_get_4k_edid()
326 static unsigned char raw_edid[256] = {0}; in igt_kms_get_3d_edid() local
339 edid = (struct edid *) raw_edid; in igt_kms_get_3d_edid()
Digt_chamelium.c671 const struct edid *raw_edid; in chamelium_port_set_edid() local
677 raw_edid = chamelium_edid_get_raw(edid, port); in chamelium_port_set_edid()
678 edid_id = chamelium_upload_edid(chamelium, raw_edid); in chamelium_port_set_edid()
/external/igt-gpu-tools/tests/
Dkms_chamelium.c299 const struct edid *raw_edid; in test_edid_read() local
317 raw_edid = chamelium_edid_get_raw(data->edids[edid], port); in test_edid_read()
318 raw_edid_size = edid_get_size(raw_edid); in test_edid_read()
319 igt_assert(memcmp(raw_edid, edid_blob->data, raw_edid_size) == 0); in test_edid_read()
1079 static unsigned char raw_edid[2 * EDID_BLOCK_SIZE] = {0}; in get_aspect_ratio_edid() local
1088 edid = (struct edid *) raw_edid; in get_aspect_ratio_edid()