HomeSort by: relevance | last modified time | path
    Searched refs:edid (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /src/sys/dev/videomode/
edid.c 1 /* $NetBSD: edid.c,v 1.18 2022/09/25 21:27:39 thorpej Exp $ */
35 __KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.18 2022/09/25 21:27:39 thorpej Exp $");
156 edid_print(struct edid_info *edid)
160 if (edid == NULL)
162 printf("Vendor: [%s] %s\n", edid->edid_vendor, edid->edid_vendorname);
163 printf("Product: [%04X] %s\n", edid->edid_product,
164 edid->edid_productname);
165 printf("Serial number: %s\n", edid->edid_serial);
167 edid->edid_year, edid->edid_week)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_connector.c 104 if (!IS_ERR_OR_NULL(intel_connector->edid))
105 kfree(intel_connector->edid);
179 * intel_connector_update_modes - update connector from edid
181 * @edid: previously read EDID information
184 struct edid *edid)
188 drm_connector_update_edid_property(connector, edid);
189 ret = drm_add_edid_modes(connector, edid);
199 * Fetch the EDID information from @connector using the DDC bus
204 struct edid *edid; local
    [all...]
intel_connector.h 14 struct edid;
30 struct edid *edid);
intel_crt.c 581 static struct edid *intel_crt_get_edid(struct drm_connector *connector,
584 struct edid *edid; local
586 edid = drm_get_edid(connector, i2c);
588 if (!edid && !intel_gmbus_is_forced_bit(i2c)) {
589 DRM_DEBUG_KMS("CRT GMBUS EDID read failed, retry using GPIO bit-banging\n");
591 edid = drm_get_edid(connector, i2c);
595 return edid;
602 struct edid *edid; local
619 struct edid *edid; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_edid.c 55 #define version_greater(edid, maj, min) \
56 (((edid)->version > (maj)) || \
57 ((edid)->version == (maj) && (edid)->revision > (min)))
64 * EDID blocks out in the wild have a variety of bugs, try to collect
99 struct edid *edid; member in struct:detailed_mode_closure
176 /* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/
590 * modes are old-school Mac modes. The EDID spec says the 1152x864@75 mode
1570 * drm_edid_header_is_valid - sanity check the header of the base EDID bloc
1632 struct edid *edid = (struct edid *)raw_edid; local
1898 u8 *edid, *new; local
2013 struct edid *edid; local
2045 struct edid *edid; local
2244 struct edid *edid = (struct edid *)raw_edid; local
2962 struct edid *edid = closure->edid; local
    [all...]
drm_debugfs.c 362 struct drm_property_blob *edid = connector->edid_blob_ptr; local
364 if (connector->override_edid && edid)
365 seq_write(m, edid->data, edid->length);
383 struct edid *edid; local
390 edid = (struct edid *) buf;
396 EDID_LENGTH * (1 + edid->extensions) > len)
400 ret = drm_connector_update_edid_property(connector, edid);
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_edid.h 287 struct edid { struct
295 /* EDID version */
342 int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);
343 int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb);
348 struct edid *drm_load_edid_firmware(struct drm_connector *connector);
353 static inline struct edid *
478 struct edid *drm_do_get_edid(struct drm_connector *connector,
482 struct edid *drm_get_edid(struct drm_connector *connector
    [all...]
  /src/sys/dev/fdt/
hdmi_connector.c 117 char edid[EDID_LENGTH * 4]; local
118 struct edid *pedid = NULL;
122 memset(edid, 0, sizeof(edid));
125 &edid[block * EDID_LENGTH], EDID_LENGTH, block);
129 pedid = (struct edid *)edid;
130 if (edid[0x7e] == 0)
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_connectors.h 29 struct edid *amdgpu_connector_edid(struct drm_connector *connector);
amdgpu_connectors.c 252 struct edid *amdgpu_connector_edid(struct drm_connector *connector)
257 if (amdgpu_connector->edid) {
258 return amdgpu_connector->edid;
260 struct edid *edid = kmemdup(edid_blob->data, edid_blob->length, GFP_KERNEL); local
261 if (edid)
262 amdgpu_connector->edid = edid;
264 return amdgpu_connector->edid;
267 static struct edid *
270 struct edid *edid; local
    [all...]
  /src/sys/dev/i2c/
ddc.c 48 * VESA Display Data Channel I2C client, used to access EDID
101 uint8_t edid[256]; local
111 edid, sizeof(edid), 0)) != 0) {
118 memcpy(dest, &edid[128], uimin(len, 128));
120 memcpy(dest, &edid[0], uimin(len, 128));
anxedp.c 210 anxedp_read_edid(struct anxedp_softc *sc, uint8_t *edid, int edidlen)
222 error = anxedp_aux_transfer(sc, ANX_AUX_TX_COMM_READ, DDC_ADDR, &edid[n], xferlen);
235 char edid[EDID_LENGTH]; local
236 struct edid *pedid = NULL;
240 error = anxedp_read_edid(sc, edid, sizeof(edid));
243 pedid = (struct edid *)edid;
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
edid.c 1 /* $NetBSD: edid.c,v 1.2 2021/12/18 23:45:31 riastradh Exp $ */
38 __KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.2 2021/12/18 23:45:31 riastradh Exp $");
56 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; local
59 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) {
60 gvt_vgpu_err("Driver tries to read EDID without proper sequence!\n");
63 if (edid->current_edid_read >= EDID_SIZE) {
64 gvt_vgpu_err("edid_get_byte() exceeds the size of EDID!\n");
68 if (!edid->edid_available) {
69 gvt_vgpu_err("Reading EDID but EDID is not available!\n")
568 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; local
    [all...]
display.h 52 (intel_vgpu_port(vgpu, port)->edid && \
53 intel_vgpu_port(vgpu, port)->edid->data_valid)
163 /* per display EDID information */
164 struct intel_vgpu_edid_data *edid; member in struct:intel_vgpu_port
Makefile 4 interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \
  /src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
amdgpu_dm_helpers.c 51 * Parse edid caps
53 * @edid: [in] pointer to edid
54 * edid_caps: [in] pointer to edid caps
60 const struct dc_edid *edid,
63 struct edid *edid_buf = (struct edid *) __UNCONST(edid->raw_edid);
73 if (!edid_caps || !edid)
103 (struct edid *) __UNCONST(edid->raw_edid))
565 struct edid *edid; local
    [all...]
amdgpu_dm.h 313 /* we need to mind the EDID between detect
315 struct edid *edid; member in struct:amdgpu_dm_connector
320 /* number of modes generated from EDID at 'dc_sink' */
451 struct edid *edid);
  /src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/
Makefile 12 edid.c \
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_connector.c 145 /* We allow 'None' for EDID modes, even on a fixed
150 * Non-EDID modes will force the use of GPU scaling
421 kfree(nv_connector->edid);
500 const void *edid = of_get_property(cn, "EDID", NULL); local
503 if (nv_encoder->dcb->i2c_index == idx && edid) {
504 nv_connector->edid =
505 kmemdup(edid, EDID_LENGTH, GFP_KERNEL);
568 /* Cleanup the previous EDID block. */
569 if (nv_connector->edid) {
727 struct edid *edid = local
    [all...]
  /src/sys/arch/macppc/macppc/
machdep.c 395 if (of_to_dataprop(dict, node, "EDID", "EDID")) {
396 aprint_debug("found EDID property...\n");
397 } else if (of_to_dataprop(dict, node, "EDID,A", "EDID")) {
398 aprint_debug("found EDID,A\n");
399 } else if (of_to_dataprop(dict, node, "EDID,B", "EDID")) {
403 aprint_debug("found EDID,B on nvidia - assuming digital output\n");
488 prop_data_t edid; local
495 prop_data_t edid; local
    [all...]
  /src/sys/external/bsd/drm2/drm/
drmfb.c 148 /* Make the first EDID we find available to wsfb */
151 struct drm_property_blob *edid = connector->edid_blob_ptr; local
152 if (edid && edid->length) {
153 prop_dictionary_set_data(dict, "EDID", edid->data,
154 edid->length);
  /src/sys/arch/arm/sunxi/
sunxi_hdmi.c 656 char *edid; local
661 edid = kmem_zalloc(EDID_BLOCK_SIZE, KM_SLEEP);
665 if (!sunxi_hdmi_read_edid_block(sc, edid, 0))
669 device_printf(sc->sc_dev, "failed to read EDID\n");
671 if (edid_parse(edid, eip) != 0) {
672 device_printf(sc->sc_dev, "failed to parse EDID\n");
714 kmem_free(edid, EDID_BLOCK_SIZE);
722 char *edid; local
725 edid = kmem_zalloc(EDID_BLOCK_SIZE, KM_SLEEP);
733 if (sunxi_hdmi_read_edid_block(sc, edid, n))
    [all...]
  /src/sbin/wsconsctl/
Makefile 5 mouse.c util.c wsconsctl.c edid.c vesagtf.o videomode.o
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
dm_helpers.h 42 const struct dc_edid *edid,
  /src/sys/external/bsd/drm2/dist/drm/vboxvideo/
vbox_mode.c 645 * Generate EDID data with a mode-unique serial number for the virtual
654 unsigned char edid[EDID_SIZE] = { local
661 0x01, 0x03, /* EDID version */
699 edid[12] = width & 0xff;
700 edid[13] = width >> 8;
701 edid[14] = height & 0xff;
702 edid[15] = height >> 8;
703 edid[54] = clock & 0xff;
704 edid[55] = clock >> 8;
705 edid[56] = width & 0xff
    [all...]

Completed in 38 milliseconds

1 2 3 4