attempt to split
that mapping. Ensure MAP and UNMAP notifications are consistent.
Fixes: dde3f08b5cab ("virtio-iommu: Handle non power of 2 range invalidations")
Reported-by: Tina Zhang
Signed-off-by: Jean-Philippe Brucker
Tested-by: Tina Zhang
Regards,
-Tina
---
v
Hi,
On 8/18/23 17:49, Xiaoyao Li wrote:
According to Chapter "CPUID Virtualization" in TDX module spec, CPUID
bits of TD can be classified into 6 types:
1 | As configured | configurable by VMM, independent of native value;
nch: work/intel-vgpu
Signed-off-by: Tina Zhang
Cc: Gerd Hoffmann
---
hw/vfio/display.c| 5 +
include/ui/egl-helpers.h | 1 +
ui/egl-headless.c| 12
ui/gtk-egl.c | 11 ---
4 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/hw
This RFC patch is based on Qemu UI on-going work of rendering guest
framebuffer through dma-buf interface, to show a protype of SDL with
dma-buf interface.
Against branch: work/intel-vgpu
Signed-off-by: Tina Zhang
---
include/ui/sdl2.h | 11
ui/sdl2-gl.c | 84
vfio display needs to release the invalid display resource and disable
the scanout mode during guest OS reboot, otherwise bugs come out.
Thanks hang.y...@intel.com for helping root cause the issue.
Tina Zhang (2):
console: introduce dpy_gfx_switch_surface
ui: introduce vfio_display_reset
resource, disable scanout mode and
replace the invalid surface with QemuConsole's DisplaySurafce.
This patch can fix the GPU hang issue caused by gd_egl_draw during
guest OS reboot.
Signed-off-by: Tina Zhang
---
hw/vfio/display.c | 20
hw/vfio/pci.c | 4
hw/vfio/
dpy_gfx_switch_surface is used to ask each valid DisplayChangeListener
of a QemuConsole to switch to another DisplaySurface.
Signed-off-by: Tina Zhang
---
include/ui/console.h | 2 ++
ui/console.c | 16
2 files changed, 18 insertions(+)
diff --git a/include/ui
dpy_gfx_update_full is used to do the whole display surface update.
This function is proposed by Gerd Hoffmann.
Signed-off-by: Tina Zhang
---
include/ui/console.h | 1 +
ui/console.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/include/ui/console.h b/include/ui
vfio display needs to release the invalid display resource and disable
the scanout mode during guest OS reboot, otherwise bugs come out.
Thanks hang.y...@intel.com for helping root cause the issue.
v1->v2:
- remove dpy_gfx_switch_surface. (Gerd)
- add dpy_gfx_update_full. (Gerd)
Tina Zhang
_surface(). (Gerd)
Signed-off-by: Tina Zhang
---
hw/vfio/display.c | 10 ++
hw/vfio/pci.c | 4
hw/vfio/pci.h | 1 +
3 files changed, 15 insertions(+)
diff --git a/hw/vfio/display.c b/hw/vfio/display.c
index 7d727ce..dc4b1e9 100644
--- a/hw/vfio/display.c
+++ b/hw/vfio/display.c
@
dpy_gfx_update_full is used to do the whole display surface update.
This function is proposed by Gerd Hoffmann.
Signed-off-by: Tina Zhang
---
include/ui/console.h | 1 +
ui/console.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/include/ui/console.h b/include/ui
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/con
;v2:
- Use dpy_gfx_update_full() update screen after reset. (Gerd)
- Remove dpy_gfx_switch_surface(). (Gerd)
Signed-off-by: Tina Zhang
---
hw/vfio/display.c | 10 ++
hw/vfio/pci.c | 7 +++
hw/vfio/pci.h | 1 +
3 files changed, 18 insertions(+)
diff --git a/hw/vfio/display.c b/hw/vfi
>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| 11 +++
hw/v
3:
- Limit vfio_display_reset to dma-buf based vfio display. (Gerd)
Changes v1->v2:
- Use dpy_gfx_update_full() update screen after reset. (Gerd)
- Remove dpy_gfx_switch_surface(). (Gerd)
Signed-off-by: Tina Zhang
---
hw/vfio/display.c | 11 +++
hw/vfio/pci.c | 4
hw/vfio/
dpy_gfx_update_full is used to do the whole display surface update.
This function is proposed by Gerd Hoffmann.
Signed-off-by: Tina Zhang
---
include/ui/console.h | 1 +
ui/console.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/include/ui/console.h b/include/ui
vfio_get_dev_irq_info is introduced to return a specific irq
capabilities.
Signed-off-by: Tina Zhang
---
hw/vfio/common.c | 78 +++
include/hw/vfio/vfio-common.h | 3 ++
2 files changed, 81 insertions(+)
diff --git a/hw/vfio/common.c b/hw/vfio
graphic_hw_refresh is used by display to invoke console refresh.
dpy_update_interval is used by display to update gui timer interval.
Signed-off-by: Tina Zhang
---
include/ui/console.h | 2 ++
ui/console.c | 35 +++
2 files changed, 37 insertions
This series shows the idea to refresh UI console depending on vGPU
page flip events.
Tina Zhang (3):
vfio: Add a funtion to return a specific irq capabilities
ui/console: Introduce two new APIs
vfio/display: Refresh display depending on vGPU page flip events
hw/vfio/common.c
Use vGPU plane page flip events to refresh display.
Signed-off-by: Tina Zhang
---
hw/vfio/display.c | 249 +-
include/hw/vfio/vfio-common.h | 8 ++
2 files changed, 225 insertions(+), 32 deletions(-)
diff --git a/hw/vfio/display.c b/hw/vfio
20 matches
Mail list logo