mbox series

[v3,0/2] Add vfio dma-buf based display reset handling

Message ID 1524730880-7154-1-git-send-email-tina.zhang@intel.com
Headers show
Series Add vfio dma-buf based display reset handling | expand

Message

Tina Zhang April 26, 2018, 8:21 a.m. UTC
vfio display needs to release the invalid display resource and disable
the scanout mode during guest OS reboot, otherwise bugs come out.

Thanks hang.yuan@intel.com for helping root cause the issue.

v2->v3:
 - Limit vfio_display_reset to dma-buf based vfio display. (Gerd)

v1->v2:
 - remove dpy_gfx_switch_surface. (Gerd)
 - add dpy_gfx_update_full. (Gerd)

Tina Zhang (2):
  console: introduce dpy_gfx_update_full
  ui: introduce vfio_display_reset

 hw/vfio/display.c    | 10 ++++++++++
 hw/vfio/pci.c        |  7 +++++++
 hw/vfio/pci.h        |  1 +
 include/ui/console.h |  1 +
 ui/console.c         | 10 ++++++++++
 5 files changed, 29 insertions(+)