Searched refs:dc_edid (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_helpers_test.c | 219 static void dm_test_fill_base_edid(struct dc_edid *dc_edid, bool good_checksum) in dm_test_fill_base_edid() argument 224 u8 *raw = dc_edid->raw_edid; in dm_test_fill_base_edid() 248 dc_edid->length = EDID_LENGTH; in dm_test_fill_base_edid() 270 struct dc_edid *dc_edid; in dm_test_parse_edid_caps_null_caps() local 272 dc_edid = kunit_kzalloc(test, sizeof(*dc_edid), GFP_KERNEL); in dm_test_parse_edid_caps_null_caps() 273 KUNIT_ASSERT_NOT_NULL(test, dc_edid); in dm_test_parse_edid_caps_null_caps() 274 dm_test_fill_base_edid(dc_edid, true); in dm_test_parse_edid_caps_null_caps() 276 KUNIT_EXPECT_EQ(test, dm_helpers_parse_edid_caps(link, dc_edid, NULL), EDID_BAD_INPUT); in dm_test_parse_edid_caps_null_caps() 287 struct dc_edid *dc_edid; in dm_test_parse_edid_caps_valid() local 289 dc_edid = kunit_kzalloc(test, sizeof(*dc_edid), GFP_KERNEL); in dm_test_parse_edid_caps_valid() [all …]
|
| H A D | amdgpu_dm_irq_test.c | 527 sink1->dc_edid.length = 128; in dm_test_are_sinks_equal_different_edid_length() 528 sink2->dc_edid.length = 256; in dm_test_are_sinks_equal_different_edid_length() 548 sink1->dc_edid.length = 4; in dm_test_are_sinks_equal_different_edid_data() 549 sink2->dc_edid.length = 4; in dm_test_are_sinks_equal_different_edid_data() 550 memset(sink1->dc_edid.raw_edid, 0xAA, 4); in dm_test_are_sinks_equal_different_edid_data() 551 memset(sink2->dc_edid.raw_edid, 0xBB, 4); in dm_test_are_sinks_equal_different_edid_data() 571 sink1->dc_edid.length = 4; in dm_test_are_sinks_equal_identical() 572 sink2->dc_edid.length = 4; in dm_test_are_sinks_equal_identical() 573 memset(sink1->dc_edid.raw_edid, 0xAA, 4); in dm_test_are_sinks_equal_identical() 574 memset(sink2->dc_edid.raw_edid, 0xAA, 4); in dm_test_are_sinks_equal_identical() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_detection.c | 684 static bool is_same_edid(struct dc_edid *old_edid, struct dc_edid *new_edid) in is_same_edid() 1375 same_edid = is_same_edid(&prev_sink->dc_edid, in detect_link_and_local_sink() 1376 &sink->dc_edid); in detect_link_and_local_sink() 1456 for (i = 0; i < sink->dc_edid.length / DC_EDID_BLOCK_SIZE; i++) { in detect_link_and_local_sink() 1458 &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE], in detect_link_and_local_sink() 1757 memmove(dc_sink->dc_edid.raw_edid, edid, len); in link_add_remote_sink() 1758 dc_sink->dc_edid.length = len; in link_add_remote_sink() 1767 &dc_sink->dc_edid, in link_add_remote_sink() 1775 dc_sink->dc_edid.length = 0; in link_add_remote_sink()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 167 const struct dc_edid *edid, in dm_helpers_parse_edid_caps() 1279 connector->edid_blob_ptr->length > sizeof(sink->dc_edid.raw_edid)) in dm_helpers_read_local_edid() 1289 sink->dc_edid.length = connector->edid_blob_ptr->length; in dm_helpers_read_local_edid() 1290 memmove(sink->dc_edid.raw_edid, (uint8_t *)edid, sink->dc_edid.length); in dm_helpers_read_local_edid() 1297 &sink->dc_edid, in dm_helpers_read_local_edid() 1324 &sink->dc_edid.raw_edid[sink->dc_edid.length-1], in dm_helpers_read_local_edid()
|
| H A D | amdgpu_dm_irq.c | 1261 if (sink1->dc_edid.length != sink2->dc_edid.length) in are_sinks_equal() 1264 if (memcmp(sink1->dc_edid.raw_edid, sink2->dc_edid.raw_edid, in are_sinks_equal() 1265 sink1->dc_edid.length) != 0) in are_sinks_equal()
|
| H A D | amdgpu_dm_connector.c | 600 if (sink->dc_edid.length == 0) { in DEFINE_FREE() 605 const struct edid *edid = (const struct edid *)sink->dc_edid.raw_edid; in DEFINE_FREE() 607 aconnector->drm_edid = drm_edid_alloc(edid, sink->dc_edid.length); in DEFINE_FREE() 2081 memmove(dc_em_sink->dc_edid.raw_edid, edid, 2085 &dc_em_sink->dc_edid, in get_modes()
|