radeon_hd: Add missing DP STATUS request type
* Name change inline with DP specifications.
This commit is contained in:
parent
807f4d4d5e
commit
66a16010b7
@ -21,7 +21,7 @@
|
||||
// AUX i2c Communications
|
||||
#define DP_AUX_I2C_WRITE 0x0
|
||||
#define DP_AUX_I2C_READ 0x1
|
||||
#define DP_AUX_I2C_STATUS 0x2
|
||||
#define DP_AUX_I2C_WRITE_STATUS_UPDATE 0x2
|
||||
#define DP_AUX_I2C_MOT 0x4
|
||||
#define DP_AUX_I2C_REPLY_ACK (0x0 << 2)
|
||||
#define DP_AUX_I2C_REPLY_NACK (0x1 << 2)
|
||||
|
@ -115,6 +115,7 @@ dp_aux_transaction(uint32 connectorIndex, dp_aux_msg* message)
|
||||
switch(message->request & ~DP_AUX_I2C_MOT) {
|
||||
case DP_AUX_NATIVE_WRITE:
|
||||
case DP_AUX_I2C_WRITE:
|
||||
case DP_AUX_I2C_WRITE_STATUS_UPDATE:
|
||||
transactionSize += message->size;
|
||||
break;
|
||||
}
|
||||
@ -143,6 +144,7 @@ dp_aux_transaction(uint32 connectorIndex, dp_aux_msg* message)
|
||||
switch(message->request & ~DP_AUX_I2C_MOT) {
|
||||
case DP_AUX_NATIVE_WRITE:
|
||||
case DP_AUX_I2C_WRITE:
|
||||
case DP_AUX_I2C_WRITE_STATUS_UPDATE:
|
||||
memcpy(auxMessage + 4, message->buffer, message->size);
|
||||
result = dp_aux_speak(connectorIndex, auxMessage,
|
||||
transactionSize, NULL, 0, delay, &ack);
|
||||
|
Loading…
Reference in New Issue
Block a user