amd-vi: fix and extend definition of Command and Event Status Register (0x2020)

The defined bits are the lower bits, not the higher ones.

Also, the specification has been extended to define bits 0:18 and they
all could potentially be interesting to us, so extend the width of the
field accordingly.

Reviewed by:	anish
This commit is contained in:
Andriy Gapon
2017-11-24 11:20:10 +00:00
parent 8523ad24ba
commit 5a041f2183
+2 -2
View File
@@ -230,8 +230,8 @@ struct amdvi_ctrl {
uint64_t :45;
uint32_t evt_tail:19;
uint64_t :45;
uint64_t :56;
uint8_t status:8;
uint8_t status:19;
uint64_t :45;
uint64_t pad2;
uint8_t :4;
uint16_t ppr_head:15;