Searched refs:raw_edid (Results 1 – 4 of 4) sorted by relevance
51 struct edid *raw_edid; member114 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() local560 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 …]
755 struct edid *raw_edid; in hdmi_get_edid() local763 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()
944 int drm_edid_header_is_valid(const u8 *raw_edid) in drm_edid_header_is_valid() argument949 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() argument969 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 …]
559 static const unsigned char raw_edid[] = { variable587 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()589 edid = (struct edid *)raw_edid; in oaktrail_hdmi_get_modes()