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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user