[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] bdbe82: qemu-edid: use qemu_edid_size()
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] bdbe82: qemu-edid: use qemu_edid_size() |
Date: |
Wed, 12 May 2021 06:46:03 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: bdbe824b7e92bd42205aa0ccb58a70c1e9cb9564
https://github.com/qemu/qemu/commit/bdbe824b7e92bd42205aa0ccb58a70c1e9cb9564
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M qemu-edid.c
Log Message:
-----------
qemu-edid: use qemu_edid_size()
So we only write out that part of the edid blob
which has been filled with data.
Also use a larger buffer for the blob.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-2-kraxel@redhat.com>
Commit: ed7f17a640853f3a13f48ca9d68f4db790a88f08
https://github.com/qemu/qemu/commit/ed7f17a640853f3a13f48ca9d68f4db790a88f08
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
Log Message:
-----------
edid: edid_desc_next
Add helper function to find the next free desc block.
Needed when we start to use the dta descriptor entries.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-3-kraxel@redhat.com>
Commit: ec70aec8dca96fba10eba432b2adc22f49b87750
https://github.com/qemu/qemu/commit/ec70aec8dca96fba10eba432b2adc22f49b87750
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
Log Message:
-----------
edid: move xtra3 descriptor
Initialize the "Established timings III" block earlier. Also move up
edid_fill_modes(). That'll make sure the offset for the additional
descriptors in the dta block don't move any more, which in turn makes it
easier to actually use them.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-4-kraxel@redhat.com>
Commit: 4f9e268637f334d639a3d3ab5f1f06dfe6e93bc0
https://github.com/qemu/qemu/commit/4f9e268637f334d639a3d3ab5f1f06dfe6e93bc0
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
Log Message:
-----------
edid: use dta extension block descriptors
When the 4 descriptors in the base edid block are filled, jump to the
dta extension block. This allows for more than four descriptors.
Happens for example when generating an edid blob with a serial number
(qemu-edid -s $serial).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-5-kraxel@redhat.com>
Commit: fce39fa737afba09811efeceee973e3039d926c4
https://github.com/qemu/qemu/commit/fce39fa737afba09811efeceee973e3039d926c4
Author: Akihiko Odaki <akihiko.odaki@gmail.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
M include/hw/display/edid.h
Log Message:
-----------
edid: Make refresh rate configurable
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-6-kraxel@redhat.com>
Commit: 850dc61f5fd320a8d566b7da9365fd723511b7c3
https://github.com/qemu/qemu/commit/850dc61f5fd320a8d566b7da9365fd723511b7c3
Author: Konstantin Nazarov <mail@knazarov.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
Log Message:
-----------
edid: move timing generation into a separate function
The timing generation is currently performed inside the function that
fills in the DTD. The DisplayID generation needs it as well, so moving
it out to a separate function.
Based-on: <20210303152948.59943-2-akihiko.odaki@gmail.com>
Signed-off-by: Konstantin Nazarov <mail@knazarov.com>
Message-Id: <20210315114639.91953-1-mail@knazarov.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-7-kraxel@redhat.com>
Commit: 5a4e88cf3b64c4a5c92e43a90260c34a6a52d011
https://github.com/qemu/qemu/commit/5a4e88cf3b64c4a5c92e43a90260c34a6a52d011
Author: Konstantin Nazarov <mail@knazarov.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
Log Message:
-----------
edid: allow arbitrary-length checksums
Some of the EDID extensions like DisplayID do checksums of their
subsections. Currently checksums can be only applied to the whole
extension blocks which are 128 bytes.
This patch allows to checksum arbitrary parts of EDID, and not only
whole extension blocks.
Based-on: <20210303152948.59943-2-akihiko.odaki@gmail.com>
Signed-off-by: Konstantin Nazarov <mail@knazarov.com>
Message-Id: <20210315114639.91953-2-mail@knazarov.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-8-kraxel@redhat.com>
Commit: 35f171a2eb25fcdf1b719c58a61a7da15b4fe078
https://github.com/qemu/qemu/commit/35f171a2eb25fcdf1b719c58a61a7da15b4fe078
Author: Konstantin Nazarov <mail@knazarov.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/edid-generate.c
M hw/display/vga-pci.c
Log Message:
-----------
edid: add support for DisplayID extension (5k resolution)
The Detailed Timing Descriptor has only 12 bits to store the
resolution. This limits the guest to 4095 pixels.
This patch adds support for the DisplayID extension, that has 2 full
bytes for that purpose, thus allowing 5k resolutions and above.
Based-on: <20210303152948.59943-2-akihiko.odaki@gmail.com>
Signed-off-by: Konstantin Nazarov <mail@knazarov.com>
Message-Id: <20210315114639.91953-3-mail@knazarov.com>
[ kraxel: minor workflow tweaks ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210427150824.638359-1-kraxel@redhat.com
Message-Id: <20210427150824.638359-9-kraxel@redhat.com>
Commit: 9049f8bc445d50c0b5fe5500c0ec51fcc821c2ef
https://github.com/qemu/qemu/commit/9049f8bc445d50c0b5fe5500c0ec51fcc821c2ef
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-3d.c
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: handle partial maps properly
dma_memory_map() may map only a part of the request. Happens if the
request can't be mapped in one go, for example due to a iommu creating
a linear dma mapping for scattered physical pages. Should that be the
case virtio-gpu must call dma_memory_map() again with the remaining
range instead of simply throwing an error.
Note that this change implies the number of iov entries may differ from
the number of mapping entries sent by the guest. Therefore the iov_len
bookkeeping needs some updates too, we have to explicitly pass around
the iov length now.
Reported-by: Auger Eric <eric.auger@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210506091001.1301250-1-kraxel@redhat.com
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210506091001.1301250-1-kraxel@redhat.com>
Commit: 7d2ad4e1e8b63babac11de42bf2a000e40ab4e89
https://github.com/qemu/qemu/commit/7d2ad4e1e8b63babac11de42bf2a000e40ab4e89
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/meson.build
R hw/display/virtio-gpu-3d.c
A hw/display/virtio-gpu-virgl.c
Log Message:
-----------
virtio-gpu: rename virgl source file.
"3d" -> "virgl" as 3d is a rather broad term.
Hopefully a bit less confusing.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-2-kraxel@redhat.com>
Commit: 063cd34a03e2a12bf338137410cb972250fe5027
https://github.com/qemu/qemu/commit/063cd34a03e2a12bf338137410cb972250fe5027
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/meson.build
A hw/display/virtio-gpu-gl.c
M include/hw/virtio/virtio-gpu.h
M util/module.c
Log Message:
-----------
virtio-gpu: add virtio-gpu-gl-device
Just a skeleton for starters, following patches will add more code.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-3-kraxel@redhat.com>
Commit: 37f86af087397688c7de4ea4ddf05449d48e6ee0
https://github.com/qemu/qemu/commit/37f86af087397688c7de4ea4ddf05449d48e6ee0
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: move virgl realize + properties
Move device init (realize) and properties.
Drop the virgl property, the virtio-gpu-gl-device has virgl enabled no
matter what. Just use virtio-gpu-device instead if you don't want
enable virgl and opengl. This simplifies the logic and reduces the test
matrix.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-4-kraxel@redhat.com>
Commit: 76fa8b359b4c0c24f390ea4b788242cc627b966f
https://github.com/qemu/qemu/commit/76fa8b359b4c0c24f390ea4b788242cc627b966f
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: move virgl reset
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-5-kraxel@redhat.com>
Commit: cabbe8e588f57e95d568f0238135839d7335249b
https://github.com/qemu/qemu/commit/cabbe8e588f57e95d568f0238135839d7335249b
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: use class function for ctrl queue handlers
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-6-kraxel@redhat.com>
Commit: ce537a4fc991d856511cbbbb32dd7105dda55b7a
https://github.com/qemu/qemu/commit/ce537a4fc991d856511cbbbb32dd7105dda55b7a
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
Log Message:
-----------
virtio-gpu: move virgl handle_ctrl
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-7-kraxel@redhat.com>
Commit: 3e48b7a31a755b570851090904c4d0f4d0906832
https://github.com/qemu/qemu/commit/3e48b7a31a755b570851090904c4d0f4d0906832
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
Log Message:
-----------
virtio-gpu: move virgl gl_flushed
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-8-kraxel@redhat.com>
Commit: 2f47691a0f8dbb4661216cba2c687efc28b1bcf5
https://github.com/qemu/qemu/commit/2f47691a0f8dbb4661216cba2c687efc28b1bcf5
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: move virgl process_cmd
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-9-kraxel@redhat.com>
Commit: 2c267d66fde11c8813d5b6d91871fc501e891122
https://github.com/qemu/qemu/commit/2c267d66fde11c8813d5b6d91871fc501e891122
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M hw/display/virtio-gpu.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: move update_cursor_data
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-10-kraxel@redhat.com>
Commit: d42d0d34b9463ce3c11cc19d1dd22def5eb1257e
https://github.com/qemu/qemu/commit/d42d0d34b9463ce3c11cc19d1dd22def5eb1257e
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu.c
Log Message:
-----------
virtio-gpu: drop VIRGL() macro
Drops last virgl/opengl dependency from virtio-gpu-device.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-11-kraxel@redhat.com>
Commit: e349693a2838bbfe84b010d9ca1a964da69fcb13
https://github.com/qemu/qemu/commit/e349693a2838bbfe84b010d9ca1a964da69fcb13
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/meson.build
M util/module.c
Log Message:
-----------
virtio-gpu: move virtio-gpu-gl-device to separate module
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-12-kraxel@redhat.com>
Commit: 49afbca3b00e8e517d54964229a794b51768deaf
https://github.com/qemu/qemu/commit/49afbca3b00e8e517d54964229a794b51768deaf
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-base.c
M hw/display/virtio-gpu-gl.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: drop use_virgl_renderer
Now that we have separated the gl and non-gl code flows to two different
devices there is little reason turn on and off virglrenderer usage at
runtime. The gl code can simply use virglrenderer unconditionally.
So drop use_virgl_renderer field and just do that.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-13-kraxel@redhat.com>
Commit: eff6fa1735a59639806f2a375964f8ac3b72c7f5
https://github.com/qemu/qemu/commit/eff6fa1735a59639806f2a375964f8ac3b72c7f5
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/virtio-gpu-gl.c
M include/hw/virtio/virtio-gpu.h
Log Message:
-----------
virtio-gpu: move fields to struct VirtIOGPUGL
Move two virglrenderer state variables to struct VirtIOGPUGL.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-14-kraxel@redhat.com>
Commit: 17cdac0b51bc4ad7a68c3e5e0b1718729b74d512
https://github.com/qemu/qemu/commit/17cdac0b51bc4ad7a68c3e5e0b1718729b74d512
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/meson.build
A hw/display/virtio-gpu-pci-gl.c
M util/module.c
Log Message:
-----------
virtio-gpu: add virtio-gpu-gl-pci
Add pci proxy for virtio-gpu-gl-device.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-15-kraxel@redhat.com>
Commit: 48ecfbf12c1f51281aaabaf8e03494291a18862c
https://github.com/qemu/qemu/commit/48ecfbf12c1f51281aaabaf8e03494291a18862c
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/vga.c
M include/hw/display/vga.h
Log Message:
-----------
modules: add have_vga
Introduce a symbol which can be used to prevent display modules which
need vga support being loaded into system emulators with CONFIG_VGA=n.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-16-kraxel@redhat.com>
Commit: b36eb8860f8f4a9c6f131c3fd380116a3017e022
https://github.com/qemu/qemu/commit/b36eb8860f8f4a9c6f131c3fd380116a3017e022
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M hw/display/meson.build
A hw/display/virtio-vga-gl.c
M util/module.c
Log Message:
-----------
virtio-gpu: add virtio-vga-gl
Add pci proxy for virtio-gpu-gl-device, with vga compatibility.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-17-kraxel@redhat.com>
Commit: a5ccdccc97d6e0d75282ede5b866cf694e9602b0
https://github.com/qemu/qemu/commit/a5ccdccc97d6e0d75282ede5b866cf694e9602b0
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M hw/display/edid-generate.c
M hw/display/meson.build
M hw/display/vga-pci.c
M hw/display/vga.c
R hw/display/virtio-gpu-3d.c
M hw/display/virtio-gpu-base.c
A hw/display/virtio-gpu-gl.c
A hw/display/virtio-gpu-pci-gl.c
A hw/display/virtio-gpu-virgl.c
M hw/display/virtio-gpu.c
A hw/display/virtio-vga-gl.c
M include/hw/display/edid.h
M include/hw/display/vga.h
M include/hw/virtio/virtio-gpu.h
M qemu-edid.c
M util/module.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/kraxel/tags/vga-20210510-pull-request'
into staging
edid: display id support (for 5k+), bugfixes.
virtio-gpu: iommu fix, device split.
# gpg: Signature made Mon 10 May 2021 14:20:36 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-20210510-pull-request: (25 commits)
virtio-gpu: add virtio-vga-gl
modules: add have_vga
virtio-gpu: add virtio-gpu-gl-pci
virtio-gpu: move fields to struct VirtIOGPUGL
virtio-gpu: drop use_virgl_renderer
virtio-gpu: move virtio-gpu-gl-device to separate module
virtio-gpu: drop VIRGL() macro
virtio-gpu: move update_cursor_data
virtio-gpu: move virgl process_cmd
virtio-gpu: move virgl gl_flushed
virtio-gpu: move virgl handle_ctrl
virtio-gpu: use class function for ctrl queue handlers
virtio-gpu: move virgl reset
virtio-gpu: move virgl realize + properties
virtio-gpu: add virtio-gpu-gl-device
virtio-gpu: rename virgl source file.
virtio-gpu: handle partial maps properly
edid: add support for DisplayID extension (5k resolution)
edid: allow arbitrary-length checksums
edid: move timing generation into a separate function
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/07a0f7561329...a5ccdccc97d6
- [Qemu-commits] [qemu/qemu] bdbe82: qemu-edid: use qemu_edid_size(),
Peter Maydell <=