From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:39334 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935194AbdCLTRu (ORCPT ); Sun, 12 Mar 2017 15:17:50 -0400 Subject: Patch "drm/amdgpu/pm: check for headless before calling compute_clocks" has been added to the 4.10-stable tree To: alexander.deucher@amd.com, gregkh@linuxfoundation.org Cc: , From: Date: Sun, 12 Mar 2017 20:16:54 +0100 Message-ID: <148934621418989@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 10 Feb 2017 18:09:32 -0500 Subject: drm/amdgpu/pm: check for headless before calling compute_clocks From: Alex Deucher 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 Signed-off-by: Greg Kroah-Hartman --- 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