diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_dp.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c index 9ba0a7d5bc8e..92b6acadfc52 100644 --- a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c +++ b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c | |||
@@ -139,7 +139,8 @@ amdgpu_atombios_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *m | |||
139 | 139 | ||
140 | tx_buf[0] = msg->address & 0xff; | 140 | tx_buf[0] = msg->address & 0xff; |
141 | tx_buf[1] = msg->address >> 8; | 141 | tx_buf[1] = msg->address >> 8; |
142 | tx_buf[2] = msg->request << 4; | 142 | tx_buf[2] = (msg->request << 4) | |
143 | ((msg->address >> 16) & 0xf); | ||
143 | tx_buf[3] = msg->size ? (msg->size - 1) : 0; | 144 | tx_buf[3] = msg->size ? (msg->size - 1) : 0; |
144 | 145 | ||
145 | switch (msg->request & ~DP_AUX_I2C_MOT) { | 146 | switch (msg->request & ~DP_AUX_I2C_MOT) { |