Skip to contentSkip to conversation

Patch "drm/amdgpu/pm: check for headless before calling compute_clocks" has been added to the 4.10-stable tree

PATCH [email protected] 1 participant 1 message Mar 12, 2017

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/pm: check for headless before calling compute_clocks

to the 4.10-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-pm-check-for-headless-before-calling-compute_clocks.patch
and it can be found in the queue-4.10 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 c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Fri, 10 Feb 2017 18:09:32 -0500
Subject: drm/amdgpu/pm: check for headless before calling compute_clocks

From: Alex Deucher <[email protected]>

commit c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 upstream.

Don't update display bandwidth on headless asics.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=99387

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +2 -1
@@ -1252,7 +1252,8 @@ void amdgpu_pm_compute_clocks(struct amd
 	if (!adev->pm.dpm_enabled)
 		return;
 
-	amdgpu_display_bandwidth_update(adev);
+	if (adev->mode_info.num_crtc)
+		amdgpu_display_bandwidth_update(adev);
 
 	for (i = 0; i < AMDGPU_MAX_RINGS; i++) {
 		struct amdgpu_ring *ring = adev->rings[i];

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

queue-4.10/drm-amdgpu-add-more-cases-to-dce11-possible-crtc-mask-setup.patch queue-4.10/drm-amdgpu-pm-check-for-headless-before-calling-compute_clocks.patch queue-4.10/revert-drm-amdgpu-update-tile-table-for-oland-hainan.patch queue-4.10/drm-radeon-handle-vfct-with-multiple-vbios-images.patch