Home
last modified time | relevance | path

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

/drivers/gpu/drm/exynos/
Dexynos_drm_vidi.c51 struct edid *raw_edid; member
114 if (!ctx->raw_edid) { in vidi_get_edid()
119 edid_len = (1 + ctx->raw_edid->extensions) * EDID_LENGTH; in vidi_get_edid()
120 edid = kmemdup(ctx->raw_edid, edid_len, GFP_KERNEL); in vidi_get_edid()
496 if (!ctx->raw_edid) in vidi_store_connection()
497 ctx->raw_edid = (struct edid *)fake_edid_info; in vidi_store_connection()
500 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_store_connection()
559 struct edid *raw_edid = (struct edid *)(uint32_t)vidi->edid; in vidi_connection_ioctl() local
560 if (!drm_edid_is_valid(raw_edid)) { in vidi_connection_ioctl()
564 edid_len = (1 + raw_edid->extensions) * EDID_LENGTH; in vidi_connection_ioctl()
[all …]
Dexynos_hdmi.c755 struct edid *raw_edid; in hdmi_get_edid() local
763 raw_edid = drm_get_edid(connector, hdata->ddc_port->adapter); in hdmi_get_edid()
764 if (!raw_edid) in hdmi_get_edid()
767 hdata->dvi_mode = !drm_detect_hdmi_monitor(raw_edid); in hdmi_get_edid()
770 raw_edid->width_cm, raw_edid->height_cm); in hdmi_get_edid()
772 return raw_edid; in hdmi_get_edid()
/drivers/gpu/drm/
Ddrm_edid.c944 int drm_edid_header_is_valid(const u8 *raw_edid) in drm_edid_header_is_valid() argument
949 if (raw_edid[i] == edid_header[i]) in drm_edid_header_is_valid()
965 bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid) in drm_edid_block_valid() argument
969 struct edid *edid = (struct edid *)raw_edid; in drm_edid_block_valid()
975 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid()
979 memcpy(raw_edid, edid_header, sizeof(edid_header)); in drm_edid_block_valid()
986 csum += raw_edid[i]; in drm_edid_block_valid()
993 if (raw_edid[0] != 0x02) in drm_edid_block_valid()
998 switch (raw_edid[0]) { in drm_edid_block_valid()
1016 if (raw_edid && print_bad_edid) { in drm_edid_block_valid()
[all …]
/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c559 static const unsigned char raw_edid[] = { variable
587 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()
589 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()