* Patch "drm/amdgpu/pm: check for headless before calling compute_clocks" has been added to the 4.10-stable tree
@ 2017-03-12 19:16 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-03-12 19:16 UTC (permalink / raw)
To: alexander.deucher, gregkh; +Cc: stable, stable-commits
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 <stable@vger.kernel.org> know about it.
>From c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Fri, 10 Feb 2017 18:09:32 -0500
Subject: drm/amdgpu/pm: check for headless before calling compute_clocks
From: Alex Deucher <alexander.deucher@amd.com>
commit c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 upstream.
Don't update display bandwidth on headless asics.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=99387
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -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 alexander.deucher@amd.com 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-12 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 19:16 Patch "drm/amdgpu/pm: check for headless before calling compute_clocks" has been added to the 4.10-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.