All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/display/vmware_vga: supress debug output and fix
@ 2022-01-04  9:11 Carwyn Ellis
  2022-01-04  9:11 ` [PATCH 1/2] hw/display/vmware_vga: only show debug output if DEBUG enabled Carwyn Ellis
  2022-01-04  9:11 ` [PATCH 2/2] hw/display/vmware_vga: do not discard screen updates Carwyn Ellis
  0 siblings, 2 replies; 10+ messages in thread
From: Carwyn Ellis @ 2022-01-04  9:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Carwyn Ellis

Two patches addressing the following in the vmware vga display code

  - only show debug output if DEBUG is explicitly enabled

  - do not discard display updates

    This prevents an issue that can cause garbled display output when
    a high number of screen updates are being requested.

    The FIFO queue size has been increased and all display update events
    are now processed ensuring correct display output even during
    periods of high activity.

Carwyn Ellis (2):
  hw/display/vmware_vga: only show debug output if DEBUG enabled
  hw/display/vmware_vga: do not discard screen updates

 hw/display/vmware_vga.c | 50 +++++++++++++++++++++++++++--------------
 1 file changed, 33 insertions(+), 17 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] use trace events and fix garbled output
@ 2022-01-04 18:06 Carwyn Ellis
  2022-01-04 18:06 ` [PATCH 2/2] hw/display/vmware_vga: do not discard screen updates Carwyn Ellis
  0 siblings, 1 reply; 10+ messages in thread
From: Carwyn Ellis @ 2022-01-04 18:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Carwyn Ellis

This patchset supersedes the earlier submission and incorporates
feedback from Laurent Vivier and Gerd Hoffmann.

There are two patches addressing the following in the vmware vga display
code

 - use of fprintf to log debug output to STDERR

   This has been replaced with trace events.

 - garbled display due to lost display updates

   This prevents an issue that can cause garbled display output when
   a high number of screen updates are being requested.

   The queue is now flushed when it reaches capacity.

   The code traversing the queue when updates are being applied to the
   display has also been simplified, since we always start the traversal
   at the beginning of the queue to ensure that all updates are applied.

Carwyn Ellis (2):
  hw/display/vmware_vga: replace fprintf calls with trace events
  hw/display/vmware_vga: do not discard screen updates

 hw/display/trace-events |  4 +++
 hw/display/vmware_vga.c | 63 +++++++++++++++++++++--------------------
 2 files changed, 37 insertions(+), 30 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-04 18:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04  9:11 [PATCH 0/2] hw/display/vmware_vga: supress debug output and fix Carwyn Ellis
2022-01-04  9:11 ` [PATCH 1/2] hw/display/vmware_vga: only show debug output if DEBUG enabled Carwyn Ellis
2022-01-04  9:18   ` Laurent Vivier
2022-01-04  9:20     ` Carwyn Ellis
2022-01-04  9:27       ` Laurent Vivier
2022-01-04  9:28         ` Carwyn Ellis
2022-01-04  9:11 ` [PATCH 2/2] hw/display/vmware_vga: do not discard screen updates Carwyn Ellis
2022-01-04 12:23   ` Gerd Hoffmann
2022-01-04 13:17     ` Carwyn Ellis
2022-01-04 18:06 [PATCH 0/2] use trace events and fix garbled output Carwyn Ellis
2022-01-04 18:06 ` [PATCH 2/2] hw/display/vmware_vga: do not discard screen updates Carwyn Ellis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.