virtio-gpu: Move fence_poll timer to VirtIOGPUGL

Move fence_poll timer to VirtIOGPUGL for consistency with cmdq_resume_bh
that are used only by GL device.

Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-Id: <20241024210311.118220-3-dmitry.osipenko@collabora.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
Dmitry Osipenko 2024-10-25 00:03:00 +03:00 committed by Alex Bennée
parent cd7ebf6bf2
commit a723d2eaf0
2 changed files with 7 additions and 4 deletions

View file

@ -194,7 +194,6 @@ struct VirtIOGPU {
uint64_t hostmem;
bool processing_cmdq;
QEMUTimer *fence_poll;
QEMUTimer *print_stats;
uint32_t inflight;
@ -229,6 +228,8 @@ struct VirtIOGPUGL {
bool renderer_inited;
bool renderer_reset;
QEMUTimer *fence_poll;
};
struct VhostUserGPU {