]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-gpu: Make non-gl display updates work again when blob=true
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Fri, 23 Jun 2023 06:04:54 +0000 (23:04 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Jun 2023 15:52:17 +0000 (18:52 +0300)
commit8c792a532ee57e5cb709b77e3bc341e54109eabd
tree99c735f0b7f1d970d4f035dabf9ba0401e83adb2
parentdc4c852d4d4bf5412c740b4c67fa20d7beb8f2e3
virtio-gpu: Make non-gl display updates work again when blob=true

In the case where the console does not have gl capability, and
if blob is set to true, make sure that the display updates still
work. Commit e86a93f55463 accidentally broke this by misplacing
the return statement (in resource_flush) causing the updates to
be silently ignored.

Fixes: e86a93f55463 ("virtio-gpu: splitting one extended mode guest fb into n-scanouts")
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dongwon Kim <dongwon.kim@intel.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20230623060454.3749910-1-vivek.kasireddy@intel.com>
(cherry picked from commit 34e29d85a7734802317c4cac9ad52b10d461c1dc)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/display/virtio-gpu.c