Home
last modified time | relevance | path

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

/openbmc/qemu/hw/vfio/
H A Ddisplay.c46 dpy->edid_regs->link_state = VFIO_DEVICE_GFX_LINK_STATE_UP; in vfio_display_edid_link_up()
47 if (pwrite_field(fd, dpy->edid_info, dpy->edid_regs, link_state)) { in vfio_display_edid_link_up()
63 .maxx = dpy->edid_regs->max_xres, in vfio_display_edid_update()
64 .maxy = dpy->edid_regs->max_yres, in vfio_display_edid_update()
70 dpy->edid_regs->link_state = VFIO_DEVICE_GFX_LINK_STATE_DOWN; in vfio_display_edid_update()
71 if (pwrite_field(fd, dpy->edid_info, dpy->edid_regs, link_state)) { in vfio_display_edid_update()
87 dpy->edid_regs->edid_max_size, in vfio_display_edid_update()
91 dpy->edid_regs->edid_size = qemu_edid_size(dpy->edid_blob); in vfio_display_edid_update()
92 if (pwrite_field(fd, dpy->edid_info, dpy->edid_regs, edid_size)) { in vfio_display_edid_update()
95 if (pwrite(fd, dpy->edid_blob, dpy->edid_regs->edid_size, in vfio_display_edid_update()
[all …]
H A Dpci.c3198 if (vdev->dpy->edid_regs == NULL) { in vfio_realize()
/openbmc/linux/samples/vfio-mdev/
H A Dmbochs.c184 struct vfio_region_gfx_edid edid_regs; member
373 edid = &mdev_state->edid_regs; in handle_mmio_read()
403 char *regs = (void *)&mdev_state->edid_regs; in handle_edid_regs()
405 if (offset + count > sizeof(mdev_state->edid_regs)) in handle_edid_regs()
430 if (offset + count > mdev_state->edid_regs.edid_max_size) in handle_edid_blob()
550 mdev_state->edid_regs.max_xres = type->max_x; in mbochs_init_dev()
551 mdev_state->edid_regs.max_yres = type->max_y; in mbochs_init_dev()
552 mdev_state->edid_regs.edid_offset = MBOCHS_EDID_BLOB_OFFSET; in mbochs_init_dev()
553 mdev_state->edid_regs.edid_max_size = sizeof(mdev_state->edid_blob); in mbochs_init_dev()
/openbmc/qemu/include/hw/vfio/
H A Dvfio-common.h213 struct vfio_region_gfx_edid *edid_regs; member