Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/amdgpu: fix Tonga S3 resume hang on rhel6.8

1. security firmware loading has moved to sw init, so this code
is useless.
2. it seems that driver could not call request_firmware on
kernel 2.6, when S3 resume. for request firmware depends on
userspace, at this time, userspace is freeze.

Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jim Qu and committed by
Alex Deucher
bd7d7acf 7286366c

-3
-3
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
··· 840 840 const struct common_firmware_header *header; 841 841 struct amdgpu_firmware_info *ucode = NULL; 842 842 843 - if (CGS_UCODE_ID_SMU_SK == type) 844 - amdgpu_cgs_rel_firmware(cgs_device, CGS_UCODE_ID_SMU); 845 - 846 843 if (!adev->pm.fw) { 847 844 switch (adev->asic_type) { 848 845 case CHIP_TOPAZ: