Patch "drm/amdgpu/si: fix crash on headless asics" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amdgpu/si: fix crash on headless asics
to the 4.9-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-si-fix-crash-on-headless-asics.patch
and it can be found in the queue-4.9 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
57bcd0a6364cd4eaa362d7ff1777e88ddf501602Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Fri, 27 Jan 2017 10:31:52 -0500
Subject: drm/amdgpu/si: fix crash on headless asics
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Alex Deucher <[email protected]>
commit 57bcd0a6364cd4eaa362d7ff1777e88ddf501602 upstream.
Missing check for crtcs present.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=193341
https://bugs.freedesktop.org/show_bug.cgi?id=99387
--- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c +3 -1
@@ -227,6 +227,9 @@ static void gmc_v6_0_mc_program(struct a }WREG32 (HDP_REG_COHERENCY_FLUSH_CNTL ,0 ); +if (adev->mode_info.num_crtc) +amdgpu_display_set_vga_render_state (adev, false); +gmc_v6_0_mc_stop (adev, &save);if (gmc_v6_0_wait_for_idle ((void *)adev)) {
@@ -256,7 +259,6 @@ static void gmc_v6_0_mc_program(struct adev_warn (adev->dev,"Wait for MC idle timedout !\n" ); }gmc_v6_0_mc_resume (adev, &save); -amdgpu_display_set_vga_render_state (adev, false); }static int gmc_v6_0_mc_init (struct amdgpu_device *adev)
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/drm-amdgpu-si-fix-crash-on-headless-asics.patch