Home
last modified time | relevance | path

Searched refs:EDID_LENGTH (Results 1 – 6 of 6) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_hdmi_edid.c602 for (i = 0; i < EDID_LENGTH; i++)
940 block = kmalloc(EDID_LENGTH, GFP_KERNEL | __GFP_ZERO); in sunxi_drm_do_get_edid()
947 if (hdmi_funcs->get_edid_block(NULL, block, 0, EDID_LENGTH)) { in sunxi_drm_do_get_edid()
958 if (i == 0 && sunixi_hdmi_edid_is_zero(block, EDID_LENGTH)) { in sunxi_drm_do_get_edid()
976 new = krealloc(block, (block[0x7e] + 1) * EDID_LENGTH, in sunxi_drm_do_get_edid()
985 block + (valid_extensions + 1) * EDID_LENGTH, in sunxi_drm_do_get_edid()
986 j, EDID_LENGTH)) in sunxi_drm_do_get_edid()
989 * EDID_LENGTH, j, in sunxi_drm_do_get_edid()
1007 block[EDID_LENGTH-1] += block[0x7e] - valid_extensions; in sunxi_drm_do_get_edid()
1009 new = krealloc(block, (valid_extensions + 1) * EDID_LENGTH, GFP_KERNEL); in sunxi_drm_do_get_edid()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_edid.c1609 for (i = 0; i < EDID_LENGTH - 1; i++) { in drm_edid_block_checksum()
1620 if (raw_edid[EDID_LENGTH - 1] != real_checksum) { in drm_edid_block_checksum_diff()
1654 edid1_len = EDID_LENGTH * (1 + edid1->extensions); in drm_edid_are_equal()
1655 edid2_len = EDID_LENGTH * (1 + edid2->extensions); in drm_edid_are_equal()
1760 if (drm_edid_is_zero(raw_edid, EDID_LENGTH)) { in drm_edid_block_valid()
1764 … print_hex_dump(KERN_NOTICE, " \t", DUMP_PREFIX_NONE, 0x10, 1, raw_edid, EDID_LENGTH, false); in drm_edid_block_valid()
1789 if (!drm_edid_block_valid(raw + i * EDID_LENGTH, i, true, NULL)) { in drm_edid_is_valid()
1813 unsigned char start = block * EDID_LENGTH; in drm_do_probe_ddc_edid()
1867 connector->real_edid_checksum = drm_edid_block_checksum(edid + num_of_ext * EDID_LENGTH); in connector_bad_edid()
1875 u8 *block = edid + i * EDID_LENGTH; in connector_bad_edid()
[all …]
Ddrm_debugfs.c355 } else if (len < EDID_LENGTH || EDID_LENGTH * (1 + edid->extensions) > len) { in edid_write()
/device/soc/rockchip/common/sdk_linux/include/drm/
Ddrm_edid.h33 #define EDID_LENGTH 128 macro
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c414 edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1); in find_edid_extension()
467 *length = EDID_LENGTH - 1; in find_displayid_extension()
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch13345 - drm_edid_block_checksum(edid + last_block * EDID_LENGTH);
13347 + drm_edid_block_checksum(edid + num_of_ext * EDID_LENGTH);
20343 + edid_ext = (u8 *)edid + EDID_LENGTH * (i + 1);
20394 + *length = EDID_LENGTH - 1;