qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d6b62a: ui/gtk: Create a common release_dmabu


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d6b62a: ui/gtk: Create a common release_dmabuf helper
Date: Fri, 10 Sep 2021 08:24:48 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d6b62ae32e91b7f3255f4e325954e8b41970705d
      
https://github.com/qemu/qemu/commit/d6b62ae32e91b7f3255f4e325954e8b41970705d
  Author: Vivek Kasireddy <vivek.kasireddy@intel.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M include/ui/gtk.h
    M ui/gtk-egl.c
    M ui/gtk.c

  Log Message:
  -----------
  ui/gtk: Create a common release_dmabuf helper

Since the texture release mechanism is same for both gtk-egl
and gtk-glarea, move the helper from gtk-egl to common gtk
code so that it can be shared by both gtk backends.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210901211014.2800391-2-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 4e5d8f8bc37c12810b89bf309f74eb6481a7c74f
      
https://github.com/qemu/qemu/commit/4e5d8f8bc37c12810b89bf309f74eb6481a7c74f
  Author: Vivek Kasireddy <vivek.kasireddy@intel.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M include/ui/console.h
    M include/ui/egl-helpers.h
    M ui/egl-helpers.c

  Log Message:
  -----------
  ui/egl: Add egl helpers to help with synchronization

These egl helpers would be used for creating and waiting on
a sync object.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210901211014.2800391-3-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 401f72c818c5049eba9bd3109d78ec2693b09ba2
      
https://github.com/qemu/qemu/commit/401f72c818c5049eba9bd3109d78ec2693b09ba2
  Author: Vivek Kasireddy <vivek.kasireddy@intel.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M hw/display/virtio-gpu-udmabuf.c
    M include/ui/console.h
    M include/ui/egl-helpers.h
    M include/ui/gtk.h
    M ui/gtk-egl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c

  Log Message:
  -----------
  ui: Create sync objects and fences only for blobs

Create sync objects and fences only for dmabufs that are blobs. Once a
fence is created (after glFlush) and is signalled,
graphic_hw_gl_flushed() will be called and virtio-gpu cmd processing
will be resumed.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210901211014.2800391-4-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 7dc860a73121a695372d9d69ea3783f0c0bbcd2a
      
https://github.com/qemu/qemu/commit/7dc860a73121a695372d9d69ea3783f0c0bbcd2a
  Author: Vivek Kasireddy <vivek.kasireddy@intel.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M include/ui/gtk.h
    M ui/gtk-egl.c
    M ui/gtk.c

  Log Message:
  -----------
  ui/gtk-egl: Wait for the draw signal for dmabuf blobs

Instead of immediately drawing and submitting, queue and wait
for the draw signal if the dmabuf submitted is a blob.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210901211014.2800391-5-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: b2c731b756cdb74dcd6ff592939b4182643cd659
      
https://github.com/qemu/qemu/commit/b2c731b756cdb74dcd6ff592939b4182643cd659
  Author: Vivek Kasireddy <vivek.kasireddy@intel.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M hw/display/virtio-gpu.c

  Log Message:
  -----------
  virtio-gpu: Add gl_flushed callback

Adding this callback provides a way to resume the processing of
cmds in fenceq and cmdq that were not processed because the UI
was waiting on a fence and blocked cmd processing.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210901211014.2800391-6-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 6335c0b56819a5d1219ea84a11a732d0861542db
      
https://github.com/qemu/qemu/commit/6335c0b56819a5d1219ea84a11a732d0861542db
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: fix pre-save logic

Oops.  Logic is backwards.

Fixes: 39b8a183e2f3 ("qxl: remove assert in qxl_pre_save.")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/610
Resolves: https://bugzilla.redhat.com//show_bug.cgi?id=2002907
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210910094203.3582378-1-kraxel@redhat.com>


  Commit: 668a38c6f92ce7c97e15145be660027b9d98eefd
      
https://github.com/qemu/qemu/commit/668a38c6f92ce7c97e15145be660027b9d98eefd
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M hw/display/qxl.c
    M hw/display/virtio-gpu-udmabuf.c
    M hw/display/virtio-gpu.c
    M include/ui/console.h
    M include/ui/egl-helpers.h
    M include/ui/gtk.h
    M ui/egl-helpers.c
    M ui/gtk-egl.c
    M ui/gtk-gl-area.c
    M ui/gtk.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/vga-20210910-pull-request' 
into staging

virtio-gpu + ui: fence syncronization.
qxl: unbreak live migration.

# gpg: Signature made Fri 10 Sep 2021 14:16:59 BST
# gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/vga-20210910-pull-request:
  qxl: fix pre-save logic
  virtio-gpu: Add gl_flushed callback
  ui/gtk-egl: Wait for the draw signal for dmabuf blobs
  ui: Create sync objects and fences only for blobs
  ui/egl: Add egl helpers to help with synchronization
  ui/gtk: Create a common release_dmabuf helper

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/3bb60406639d...668a38c6f92c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]