Skip to contentSkip to conversation

Patch "drm/amdgpu: skip TV/CV in display parsing" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 5, 2016

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/amdgpu: skip TV/CV in display parsing

to the 4.4-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-amdgpu-skip-tv-cv-in-display-parsing.patch
and it can be found in the queue-4.4 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 611a1507fe8569ce1adab3abc982ea58ab559fb9 Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Wed, 24 Aug 2016 13:04:15 -0400
Subject: drm/amdgpu: skip TV/CV in display parsing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Alex Deucher <[email protected]>

commit 611a1507fe8569ce1adab3abc982ea58ab559fb9 upstream.

No asics supported by amdgpu support analog TV.

Workaround for bug:
https://bugs.freedesktop.org/show_bug.cgi?id=97460

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c +7 -0
@@ -331,6 +331,13 @@ bool amdgpu_atombios_get_connector_info_
 			    (le16_to_cpu(path->usConnObjectId) &
 			     OBJECT_TYPE_MASK) >> OBJECT_TYPE_SHIFT;
 
+			/* Skip TV/CV support */
+			if ((le16_to_cpu(path->usDeviceTag) ==
+			     ATOM_DEVICE_TV1_SUPPORT) ||
+			    (le16_to_cpu(path->usDeviceTag) ==
+			     ATOM_DEVICE_CV_SUPPORT))
+				continue;
+
 			if (con_obj_id >= ARRAY_SIZE(object_connector_convert)) {
 				DRM_ERROR("invalid con_obj_id %d for device tag 0x%04x\n",
 					  con_obj_id, le16_to_cpu(path->usDeviceTag));

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

queue-4.4/drm-amd-amdgpu-sdma-resume-fail-during-s4-on-ci.patch queue-4.4/drm-amdgpu-change-gart-offset-to-64-bit.patch queue-4.4/drm-amdgpu-avoid-a-possible-array-overflow.patch queue-4.4/drm-amdgpu-record-error-code-when-ring-test-failed.patch queue-4.4/drm-amdgpu-skip-tv-cv-in-display-parsing.patch queue-4.4/drm-amdgpu-fix-amdgpu_move_blit-on-32bit-systems.patch