We tried to do a partial revert of commit a5d7b4df ("amdgpu: update GC
11.0.2 firmware for amd.5.5 release") and commit ffe1a41e ("amdgpu:
update GC 11.0.0 firmware for amd.5.5 release") to help with a
compatibility issue with EOL kernels that didn't pick up stable patches,
but this caused more problems.
It causes some systems to fail to resume from S3 and some systems to
fail to boot. Our priority should be making things work with kernels
that we can actively support, not EOL kernels. Stable kernels,
the LTS kernel, and development kernels all work with the latest
firmware.
This reverts commit 789aa81504.
Cc: alexander.deucher@amd.com
Reported-by: shtetldik@gmail.com
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2782
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
When GC 11.0.0/11.0.2 firmware was updated it caused a regression where
kernels without the following commits wouldn't be able to boot properly:
ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
The intention was that there was a fallback path and kernels with both
those commits and these commits:
da9a8dc33da2 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
616843d5a11b drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
09bf14907d86 drm/amdgpu: declare firmware for new MES 11.0.4
Would be able to work properly. The newer firmware that requires ac2f5739fdca
and a2fe4534bb38 would use `*mes_2.bin` and the older firmware that could
work without those commits would use `*_mes1.bin`.
This seems to have not panned out properly because users report that upgrading
to Ubuntu's 6.2 kernel that is missing the commits fails to boot. To fix the
issue, do a partial revert for those specific binaries.
Fixes: a5d7b4df ("amdgpu: update GC 11.0.2 firmware for amd.5.5 release")
Fixes: ffe1a41e ("amdgpu: update GC 11.0.0 firmware for amd.5.5 release")
Link: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2024427
Link: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2027959
Link: https://bugs.launchpad.net/linux-firmware/+bug/2029396
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2773
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2757
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2585
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>