qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] de1b9b: qxl: use uint64_t for vram size


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] de1b9b: qxl: use uint64_t for vram size
Date: Wed, 06 Jul 2016 06:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769
      
https://github.com/qemu/qemu/commit/de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c
    M hw/display/qxl.h

  Log Message:
  -----------
  qxl: use uint64_t for vram size

This allows for the 64bit vram bar to become larger than 2G
(try -device qxl-vga,vram64_size_mb=8192).

https://bugzilla.redhat.com/show_bug.cgi?id=1340439

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 2f5ae772c62499873a0da8fffa03594753eb8fa8
      
https://github.com/qemu/qemu/commit/2f5ae772c62499873a0da8fffa03594753eb8fa8
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: handle no updates in interface_update_area_complete

Simply return early in case there are no updated rects.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 726bdf653aca9b87e28c9a56dd94c4667ddfacbc
      
https://github.com/qemu/qemu/commit/726bdf653aca9b87e28c9a56dd94c4667ddfacbc
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c

  Log Message:
  -----------
  qxl: factor out qxl_get_check_slot_offset

New helper function which translates a qxl physical address into
memory slot and offset.  Also applies sanity checks.  Factored out
from qxl_phys2virt.  No functional change.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 3cb5158f15604a9f50287f2f06777d5835ff4c15
      
https://github.com/qemu/qemu/commit/3cb5158f15604a9f50287f2f06777d5835ff4c15
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c
    M hw/display/qxl.h

  Log Message:
  -----------
  qxl: store memory region and offset instead of pointer for guest slots

Store MemoryRegion and offset instead of a pointer for each qxl memory
slot, so we can easily figure in which memory region an qxl object
stored.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 1331eab216c9dc4e50a48a34d14926b31a7fd611
      
https://github.com/qemu/qemu/commit/1331eab216c9dc4e50a48a34d14926b31a7fd611
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c
    M hw/display/trace-events

  Log Message:
  -----------
  qxl: fix surface migration

Create a helper function qxl_dirty_one_surface() to mark a single qxl
surface as dirty.  Use the new qxl_get_check_slot_offset function and
lookup the memory region from the slot instead of assuming the surface
is stored in vram.

Use the new helper function in qxl_dirty_surfaces, for both primary and
off-screen surfaces.  For off-screen surfaces this is no functional
change.  For primary surfaces this will dirty only the memory actually
used instead of the whole surface0 region.  It will also work correctly
in case the guest places the primary surface in vram instead of the
surface0 region (linux kms driver does that).

https://bugzilla.redhat.com/show_bug.cgi?id=1235732

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 015e02f88071cfedd6bc6f910af5a388462aec6b
      
https://github.com/qemu/qemu/commit/015e02f88071cfedd6bc6f910af5a388462aec6b
  Author: John Snow <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c
    M include/ui/qemu-spice.h
    M ui/spice-display.c

  Log Message:
  -----------
  spice: avoid .set_mm_time on >= 0.12.6

Spice deprecated this callback in 0.12.6.
It's not a problem yet, but it will cause Clang to fail in a -Werror
build due to the deprecated tag.

Signed-off-by: John Snow <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c540128f93e17141c63d41a8eb77bde80a2fc752
      
https://github.com/qemu/qemu/commit/c540128f93e17141c63d41a8eb77bde80a2fc752
  Author: Marc-André Lureau <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

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

  Log Message:
  -----------
  virgl: count the calls to gl_block

In virgl_cmd_resource_flush(), when several consoles are updated, it
needs to keep blocking until all spice gl draws are done. This fixes an
assert() in spice when using multiple monitors with virgl.

Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c61d8126fcdc1c70581be55d0082f4510e9cfb26
      
https://github.com/qemu/qemu/commit/c61d8126fcdc1c70581be55d0082f4510e9cfb26
  Author: Marc-André Lureau <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M ui/spice-display.c

  Log Message:
  -----------
  spice: use the right head for multi-monitor

Look up the associated head monitor config.

Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9d8256ebc0ef88fb1f35d0405893962d20cc10ad
      
https://github.com/qemu/qemu/commit/9d8256ebc0ef88fb1f35d0405893962d20cc10ad
  Author: Marc-André Lureau <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/virtio-gpu-3d.c
    M include/ui/console.h
    M include/ui/gtk.h
    M include/ui/sdl2.h
    M ui/console.c
    M ui/gtk-egl.c
    M ui/sdl2-gl.c
    M ui/spice-display.c

  Log Message:
  -----------
  virgl: pass whole GL scanout dimensions

Spice client needs the whole GL texture dimension to be able to show a
scanout with a monitor offset (different than +0+0).

Furthermore, this fixes a crash when calling surface_{width,height}()
after dpy_gfx_replace_surface(con, NULL) was called in
virgl_cmd_set_scanout()

Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 0c56c6ab68902281094c7aac6305e2321c34c187
      
https://github.com/qemu/qemu/commit/0c56c6ab68902281094c7aac6305e2321c34c187
  Author: Peter Maydell <address@hidden>
  Date:   2016-07-06 (Wed, 06 Jul 2016)

  Changed paths:
    M hw/display/qxl.c
    M hw/display/qxl.h
    M hw/display/trace-events
    M hw/display/virtio-gpu-3d.c
    M hw/display/virtio-gpu.c
    M include/hw/virtio/virtio-gpu.h
    M include/ui/console.h
    M include/ui/gtk.h
    M include/ui/qemu-spice.h
    M include/ui/sdl2.h
    M ui/console.c
    M ui/gtk-egl.c
    M ui/sdl2-gl.c
    M ui/spice-display.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20160706-1' into 
staging

spice and qxl bugfixes.

# gpg: Signature made Wed 06 Jul 2016 10:44:10 BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/spice/tags/pull-spice-20160706-1:
  virgl: pass whole GL scanout dimensions
  spice: use the right head for multi-monitor
  virgl: count the calls to gl_block
  spice: avoid .set_mm_time on >= 0.12.6
  qxl: fix surface migration
  qxl: store memory region and offset instead of pointer for guest slots
  qxl: factor out qxl_get_check_slot_offset
  qxl: handle no updates in interface_update_area_complete
  qxl: use uint64_t for vram size

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/975b1c3ac6ae...0c56c6ab6890

reply via email to

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