Skip to contentSkip to conversation

Patch "drm/radeon/native: Send out the full AUX address" has been added to the 4.2-stable tree

PATCH [email protected] 1 participant 1 message Sep 15, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm/radeon/native: Send out the full AUX address

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-radeon-native-send-out-the-full-aux-address.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 7040c399aea2b0213a9aefd73e507369a6d641d6 Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Mon, 31 Aug 2015 11:15:05 -0400
Subject: drm/radeon/native: Send out the full AUX address
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Alex Deucher <[email protected]>

commit 7040c399aea2b0213a9aefd73e507369a6d641d6 upstream.

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 radeon non-atom aux path

---
 drivers/gpu/drm/radeon/radeon_dp_auxch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_dp_auxch.c +2 -2
@@ -116,8 +116,8 @@ radeon_dp_aux_transfer_native(struct drm
 	       AUX_SW_WR_BYTES(bytes));
 
 	/* write the data header into the registers */
-	/* request, addres, msg size */
-	byte = (msg->request << 4);
+	/* request, address, msg size */
+	byte = (msg->request << 4) | ((msg->address >> 16) & 0xf);
 	WREG32(AUX_SW_DATA + aux_offset[instance],
 	       AUX_SW_DATA_MASK(byte) | AUX_SW_AUTOINCREMENT_DISABLE);
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/drm-amdgpu-atom-send-out-the-full-aux-address.patch queue-4.2/drm-radeon-atom-send-out-the-full-aux-address.patch queue-4.2/drm-amdgpu-fix-ih-ring-allocation-for-bus-addresses-v2.patch queue-4.2/drm-radeon-don-t-link-train-displayport-on-hpd-until-we-get-the-dpcd.patch queue-4.2/drm-amdgpu-fix-typo-in-dce11-watermark-setup.patch queue-4.2/drm-radeon-native-send-out-the-full-aux-address.patch queue-4.2/drm-amdgpu-don-t-link-train-displayport-on-hpd-until-we-get-the-dpcd.patch queue-4.2/drm-radeon-fix-hdmi-quantization_range-for-pre-dce5-asics.patch queue-4.2/drm-amdgpu-fix-typo-in-dce10-watermark-setup.patch