mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
virtio-gpu: Move print_stats timer to VirtIOGPUGL
Move print_stats timer to VirtIOGPUGL for consistency with cmdq_resume_bh and fence_poll that are used only by GL device. Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Message-Id: <20241024210311.118220-4-dmitry.osipenko@collabora.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
a723d2eaf0
commit
a0a8f47fd0
2 changed files with 7 additions and 5 deletions
|
@ -194,7 +194,6 @@ struct VirtIOGPU {
|
|||
uint64_t hostmem;
|
||||
|
||||
bool processing_cmdq;
|
||||
QEMUTimer *print_stats;
|
||||
|
||||
uint32_t inflight;
|
||||
struct {
|
||||
|
@ -230,6 +229,7 @@ struct VirtIOGPUGL {
|
|||
bool renderer_reset;
|
||||
|
||||
QEMUTimer *fence_poll;
|
||||
QEMUTimer *print_stats;
|
||||
};
|
||||
|
||||
struct VhostUserGPU {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue