]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/display/virtio-gpu.c
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)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 27 Jun 2023 15:08:56 +0000 (17:08 +0200)
commit34e29d85a7734802317c4cac9ad52b10d461c1dc
treeb8bd3b56cd838f1e770983391d1121dce806d547
parentde9f844ce27ef8540bb9e8b4dd2c159b676d78a5
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>
hw/display/virtio-gpu.c