qemu-e2k/hw/display
Marc-André Lureau 8a13b9bc0f hw/display: fix virgl reset regression
Before commit 49afbca3b0 ("virtio-gpu: drop
use_virgl_renderer"), use_virgl_renderer was preventing calling GL
functions from non-GL context threads. The innocuously looking

  g->parent_obj.use_virgl_renderer = false;

was set the first time virtio_gpu_gl_reset() was called, during
pc_machine_reset() in the main thread. Further virtio_gpu_gl_reset()
calls in IO threads, without associated GL context, were thus skipping
GL calls and avoided warnings or crashes (see also
https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/226).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210702123221.942432-1-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-07-22 15:46:54 +02:00
..
artist.c
ati_2d.c
ati_dbg.c
ati_int.h
ati_regs.h
ati.c hw/i2c: Rename i2c_set_slave_address() -> i2c_slave_set_address() 2021-07-08 14:15:01 -05:00
bcm2835_fb.c
blizzard.c
bochs-display.c
cg3.c
cirrus_vga_internal.h
cirrus_vga_isa.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
edid-generate.c edid: add support for DisplayID extension (5k resolution) 2021-05-10 11:41:02 +02:00
edid-region.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c g364fb: add VMStateDescription for G364SysBusState 2021-07-02 17:35:08 +02:00
i2c-ddc.c
jazz_led.c
Kconfig Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00
macfb.c hw/display/macfb: Classify the "nubus-macfb" as display device 2021-06-05 21:21:56 +02:00
meson.build configure, meson: convert virgl detection to meson 2021-07-06 08:33:51 +02:00
next-fb.c Do not include hw/boards.h if it's not really necessary 2021-05-02 17:24:51 +02:00
omap_dss.c
omap_lcdc.c hw/display/omap_lcdc: Delete unnecessary macro 2021-03-06 13:30:38 +00:00
pl110_template.h hw/display/pl110: Remove use of BITS from pl110_template.h 2021-03-14 13:14:55 +00:00
pl110.c hw/display/pl110: Remove use of BITS from pl110_template.h 2021-03-14 13:14:55 +00:00
pxa2xx_lcd.c hw/display/pxa2xx: Inline template header 2021-03-14 13:14:56 +00:00
qxl-logger.c
qxl-render.c
qxl.c Revert "qxl: add migration blocker to avoid pre-save assert" 2021-07-22 15:46:47 +02:00
qxl.h Revert "qxl: add migration blocker to avoid pre-save assert" 2021-07-22 15:46:47 +02:00
ramfb-standalone.c
ramfb.c
sii9022.c
sm501.c hw/i2c: Rename i2c_set_slave_address() -> i2c_slave_set_address() 2021-07-08 14:15:01 -05:00
ssd0303.c
ssd0323.c
tc6393xb.c hw/display/tc6393xb: Inline tc6393xb_draw_graphic32() at its callsite 2021-03-06 13:30:38 +00:00
tcx.c hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h
vga_int.h
vga_regs.h
vga-access.h
vga-helpers.h
vga-isa-mm.c
vga-isa.c
vga-pci.c edid: add support for DisplayID extension (5k resolution) 2021-05-10 11:41:02 +02:00
vga.c vga: Allow writing VBE_DISPI_ID5 to ID register 2021-06-15 07:11:03 +02:00
vhost-user-gpu-pci.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
vhost-user-gpu.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
vhost-user-vga.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-gpu-base.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-gpu-gl.c hw/display: fix virgl reset regression 2021-07-22 15:46:54 +02:00
virtio-gpu-pci-gl.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-gpu-pci.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-gpu-udmabuf.c virtio-gpu: Add helpers to create and destroy dmabuf objects 2021-05-27 12:07:37 +02:00
virtio-gpu-virgl.c hw/display: fix virgl reset regression 2021-07-22 15:46:54 +02:00
virtio-gpu.c hw/display/virtio-gpu: Fix memory leak (CID 1453811) 2021-07-22 13:31:51 +02:00
virtio-vga-gl.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-vga.c modules: add virtio-gpu module annotations 2021-07-09 18:20:27 +02:00
virtio-vga.h
vmware_vga.c
xenfb.c
xlnx_dp.c hw/i2c: Rename i2c_set_slave_address() -> i2c_slave_set_address() 2021-07-08 14:15:01 -05:00