diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-03-20 17:18:06 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-21 02:55:51 -0400 |
commit | 97412a7a1da933c7a5feaf4bd6c410d467d79069 (patch) | |
tree | dd95ee4b679ec724dd7951c1d5a136651b9e5630 | |
parent | 47aef7a8922d48ac2cebc13d39079abe1ce63c35 (diff) |
drm/radeon/kms: DP aux updates for DCE6
DCE6 requires a non-0 value for lpAuxRequest for the
ProcessAuxChannelTransaction command table. Setting
lpAuxRequest to 0 is a special case used by AsicInit
for setting up the aux pads.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_dp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c index 191218ad92e7..6c62be226804 100644 --- a/drivers/gpu/drm/radeon/atombios_dp.c +++ b/drivers/gpu/drm/radeon/atombios_dp.c | |||
@@ -63,12 +63,12 @@ static int radeon_process_aux_ch(struct radeon_i2c_chan *chan, | |||
63 | 63 | ||
64 | memset(&args, 0, sizeof(args)); | 64 | memset(&args, 0, sizeof(args)); |
65 | 65 | ||
66 | base = (unsigned char *)rdev->mode_info.atom_context->scratch; | 66 | base = (unsigned char *)(rdev->mode_info.atom_context->scratch + 1); |
67 | 67 | ||
68 | memcpy(base, send, send_bytes); | 68 | memcpy(base, send, send_bytes); |
69 | 69 | ||
70 | args.v1.lpAuxRequest = 0; | 70 | args.v1.lpAuxRequest = 0 + 4; |
71 | args.v1.lpDataOut = 16; | 71 | args.v1.lpDataOut = 16 + 4; |
72 | args.v1.ucDataOutLen = 0; | 72 | args.v1.ucDataOutLen = 0; |
73 | args.v1.ucChannelID = chan->rec.i2c_id; | 73 | args.v1.ucChannelID = chan->rec.i2c_id; |
74 | args.v1.ucDelay = delay / 10; | 74 | args.v1.ucDelay = delay / 10; |