Patch "drm/amdgpu: update si kicker smc firmware" 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: update si kicker smc firmware
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-update-si-kicker-smc-firmware.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
5165484b02f2cbedb5bf3a41ff5e8ae16069016cMon Sep 17 00:00:00 2001
From: Flora Cui <[email protected]>
Date: Thu, 15 Dec 2016 13:43:59 +0800
Subject: drm/amdgpu: update si kicker smc firmware
From: Flora Cui <[email protected]>
commit 5165484b02f2cbedb5bf3a41ff5e8ae16069016c upstream.
Use the appropriate smc firmware for each chip revision. Using the wrong one can cause stability issues.
--- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 57 +++++++++++++++++------------------- 1 file changed, 28 insertions(+), 29 deletions(-)
drivers/gpu/drm/amd/amdgpu/si_dpm.c +28 -29
@@ -56,7 +56,6 @@#define BIOS_SCRATCH_4 0x5cdMODULE_FIRMWARE ("radeon/tahiti_smc.bin" ); -MODULE_FIRMWARE ("radeon/tahiti_k_smc.bin" );MODULE_FIRMWARE ("radeon/pitcairn_smc.bin" );MODULE_FIRMWARE ("radeon/pitcairn_k_smc.bin" );MODULE_FIRMWARE ("radeon/verde_smc.bin" );
@@ -7685,49 +7684,49 @@ static int si_dpm_init_microcode(struct chip_name ="tahiti" ;break ;case CHIP_PITCAIRN : -if ((adev->pdev->revision ==0x81 ) || - (adev->pdev->device ==0x6810 ) || - (adev->pdev->device ==0x6811 ) || - (adev->pdev->device ==0x6816 ) || - (adev->pdev->device ==0x6817 ) || - (adev->pdev->device ==0x6806 )) +if ((adev->pdev->revision ==0x81 ) && + ((adev->pdev->device ==0x6810 ) || + (adev->pdev->device ==0x6811 ))) chip_name ="pitcairn_k" ;else chip_name ="pitcairn" ;break ;case CHIP_VERDE : -if ((adev->pdev->revision ==0x81 ) || - (adev->pdev->revision ==0x83 ) || - (adev->pdev->revision ==0x87 ) || - (adev->pdev->device ==0x6820 ) || - (adev->pdev->device ==0x6821 ) || - (adev->pdev->device ==0x6822 ) || - (adev->pdev->device ==0x6823 ) || - (adev->pdev->device ==0x682A ) || - (adev->pdev->device ==0x682B )) +if (((adev->pdev->device ==0x6820 ) && + ((adev->pdev->revision ==0x81 ) || + (adev->pdev->revision ==0x83 ))) || + ((adev->pdev->device ==0x6821 ) && + ((adev->pdev->revision ==0x83 ) || + (adev->pdev->revision ==0x87 ))) || + ((adev->pdev->revision ==0x87 ) && + ((adev->pdev->device ==0x6823 ) || + (adev->pdev->device ==0x682b )))) chip_name ="verde_k" ;else chip_name ="verde" ;break ;case CHIP_OLAND : -if ((adev->pdev->revision ==0xC7 ) || - (adev->pdev->revision ==0x80 ) || - (adev->pdev->revision ==0x81 ) || - (adev->pdev->revision ==0x83 ) || - (adev->pdev->revision ==0x87 ) || - (adev->pdev->device ==0x6604 ) || - (adev->pdev->device ==0x6605 )) +if (((adev->pdev->revision ==0x81 ) && + ((adev->pdev->device ==0x6600 ) || + (adev->pdev->device ==0x6604 ) || + (adev->pdev->device ==0x6605 ) || + (adev->pdev->device ==0x6610 ))) || + ((adev->pdev->revision ==0x83 ) && + (adev->pdev->device ==0x6610 ))) chip_name ="oland_k" ;else chip_name ="oland" ;break ;case CHIP_HAINAN : -if ((adev->pdev->revision ==0x81 ) || - (adev->pdev->revision ==0x83 ) || - (adev->pdev->revision ==0xC3 ) || - (adev->pdev->device ==0x6664 ) || - (adev->pdev->device ==0x6665 ) || - (adev->pdev->device ==0x6667 )) +if (((adev->pdev->revision ==0x81 ) && + (adev->pdev->device ==0x6660 )) || + ((adev->pdev->revision ==0x83 ) && + ((adev->pdev->device ==0x6660 ) || + (adev->pdev->device ==0x6663 ) || + (adev->pdev->device ==0x6665 ) || + (adev->pdev->device ==0x6667 ))) || + ((adev->pdev->revision ==0xc3 ) && + (adev->pdev->device ==0x6665 ))) chip_name ="hainan_k" ;else chip_name ="hainan" ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/drm-amdgpu-update-si-kicker-smc-firmware.patch