diff options
author | Gerd Hoffmann | 2019-03-11 18:14:39 +0100 |
---|---|---|
committer | Alex Williamson | 2019-03-11 19:59:59 +0100 |
commit | 08479114b0de29f7cdd6ae20f3490b45753db083 (patch) | |
tree | 239f116aefe403f2d4c649d19ec7ca84198f8817 /hw/vfio/trace-events | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/vga-20190311-v2-pull-reques... (diff) | |
download | qemu-08479114b0de29f7cdd6ae20f3490b45753db083.tar.gz qemu-08479114b0de29f7cdd6ae20f3490b45753db083.tar.xz qemu-08479114b0de29f7cdd6ae20f3490b45753db083.zip |
vfio/display: add edid support.
This patch adds EDID support to the vfio display (aka vgpu) code.
When supported by the mdev driver qemu will generate a EDID blob
and pass it on using the new vfio edid region. The EDID blob will
be updated on UI changes (i.e. window resize), so the guest can
adapt.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
[remove control flow via macro, use unsigned format specifier]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/trace-events')
-rw-r--r-- | hw/vfio/trace-events | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/vfio/trace-events b/hw/vfio/trace-events index ed2f333ad7..decbde495a 100644 --- a/hw/vfio/trace-events +++ b/hw/vfio/trace-events @@ -132,3 +132,10 @@ vfio_prereg_unregister(uint64_t va, uint64_t size, int ret) "va=0x%"PRIx64" size vfio_spapr_create_window(int ps, uint64_t ws, uint64_t off) "pageshift=0x%x winsize=0x%"PRIx64" offset=0x%"PRIx64 vfio_spapr_remove_window(uint64_t off) "offset=0x%"PRIx64 vfio_spapr_group_attach(int groupfd, int tablefd) "Attached groupfd %d to liobn fd %d" + +# hw/vfio/display.c +vfio_display_edid_available(void) "" +vfio_display_edid_link_up(void) "" +vfio_display_edid_link_down(void) "" +vfio_display_edid_update(uint32_t prefx, uint32_t prefy) "%ux%u" +vfio_display_edid_write_error(void) "" |