Home
last modified time | relevance | path

Searched refs:edid_buf (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c99 struct edid *edid_buf = edid ? (struct edid *) edid->raw_edid : NULL; in dm_helpers_parse_edid_caps()
111 if (!drm_edid_is_valid(edid_buf)) in dm_helpers_parse_edid_caps()
114 edid_caps->manufacturer_id = (uint16_t) edid_buf->mfg_id[0] | in dm_helpers_parse_edid_caps()
115 ((uint16_t) edid_buf->mfg_id[1])<<8; in dm_helpers_parse_edid_caps()
116 edid_caps->product_id = (uint16_t) edid_buf->prod_code[0] | in dm_helpers_parse_edid_caps()
117 ((uint16_t) edid_buf->prod_code[1])<<8; in dm_helpers_parse_edid_caps()
118 edid_caps->serial_number = edid_buf->serial; in dm_helpers_parse_edid_caps()
119 edid_caps->manufacture_week = edid_buf->mfg_week; in dm_helpers_parse_edid_caps()
120 edid_caps->manufacture_year = edid_buf->mfg_year; in dm_helpers_parse_edid_caps()
122 drm_edid_get_monitor_name(edid_buf, in dm_helpers_parse_edid_caps()
95 struct edid *edid_buf = edid ? (struct edid *) edid->raw_edid : NULL; dm_helpers_parse_edid_caps() local
[all...]
/openbsd-src/sys/arch/armv7/omap/
H A Damdisplay.c181 uint8_t *edid_buf; in amdisplay_attach() local
206 edid_buf = malloc(EDID_LENGTH, M_DEVBUF, M_WAITOK | M_ZERO); in amdisplay_attach()
211 if (nxphdmi_get_edid(edid_buf, EDID_LENGTH) || in amdisplay_attach()
212 edid_parse(DEVNAME(sc), edid_buf, &sc->sc_edid)) { in amdisplay_attach()
214 free(edid_buf, M_DEVBUF, EDID_LENGTH); in amdisplay_attach()
219 free(edid_buf, M_DEVBUF, EDID_LENGTH); in amdisplay_attach()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/
H A Ddc_ddc_types.h195 uint8_t edid_buf[DC_MAX_EDID_BUFFER_SIZE]; member