mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
cuda: port SET_AUTO_RATE command to new framework
Also implement the command, by removing the hardcoded period of 20 ms/50 Hz and replacing it by the one requested by user. Update VMState version to store this new parameter. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
1cdab10446
commit
374312e7c5
2 changed files with 31 additions and 6 deletions
|
@ -111,6 +111,7 @@ typedef struct CUDAState {
|
|||
int data_out_index;
|
||||
|
||||
qemu_irq irq;
|
||||
uint8_t autopoll_rate_ms;
|
||||
uint8_t autopoll;
|
||||
uint8_t data_in[128];
|
||||
uint8_t data_out[16];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue