projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7040c39
)
drm/amdgpu/atom: Send out the full AUX address
author
Alex Deucher
<
[email protected]
>
Mon, 31 Aug 2015 15:08:44 +0000
(11:08 -0400)
committer
Alex Deucher
<
[email protected]
>
Wed, 2 Sep 2015 16:04:54 +0000
(12:04 -0400)
AUX addresses are 20 bits long. Send out the entire address instead of
just the low 16 bits.
Port of:
drm/radeon/atom: Send out the full AUX address
to amdgpu
Reviewed-by: Jammy Zhou <
[email protected]
>
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/amd/amdgpu/atombios_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/atombios_dp.c
b/drivers/gpu/drm/amd/amdgpu/atombios_dp.c
index 9ba0a7d5bc8e8aa3eed21a30e834331bd97364a8..92b6acadfc5270188b958049e4a468ead9f21ddc 100644
(file)
--- 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
tx_buf[0] = msg->address & 0xff;
tx_buf[1] = msg->address >> 8;
- tx_buf[2] = msg->request << 4;
+ tx_buf[2] = (msg->request << 4) |
+ ((msg->address >> 16) & 0xf);
tx_buf[3] = msg->size ? (msg->size - 1) : 0;
switch (msg->request & ~DP_AUX_I2C_MOT) {