Hello team,
Upstream provided several bug fix related to AMD APU Raven Ridge which hangs when using some applications like radeontop to read its interface [1]. Test model was 2018 HP Envy x360 Ryzen 2500U (device id 15dd):
drm/amdgpu: disable gfxoff when using register read interface ------------------------------------------------------------------------------------------
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=c57...
Original Raven Ridge (15d8) becomes unstable when using gfxoff. The test modelĀ Ryzen 2500U with id 15dd and above is unaffected
drm/amdgpu: disable gfxoff on original raven -----------------------------------------------------------------
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=941...
Revert "drm/amd/display: enable S/G for RAVEN chip"
----------------------------------------------------------------------------
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=a01...
It will be nice to backport for the current kernel 5.3. Thanks in advance.
Reference:
---------------
[1]https://bugzilla.kernel.org/show_bug.cgi?id=205497
On 11/24/19 12:38 AM, Luya Tshimbalanga wrote:
Hello team,
Upstream provided several bug fix related to AMD APU Raven Ridge which hangs when using some applications like radeontop to read its interface [1]. Test model was 2018 HP Envy x360 Ryzen 2500U (device id 15dd):
drm/amdgpu: disable gfxoff when using register read interface
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=c57...
Original Raven Ridge (15d8) becomes unstable when using gfxoff. The test modelĀ Ryzen 2500U with id 15dd and above is unaffected
drm/amdgpu: disable gfxoff on original raven
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=941...
Revert "drm/amd/display: enable S/G for RAVEN chip"
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.4&id=a01...
It will be nice to backport for the current kernel 5.3. Thanks in advance.
Do the fixes apply cleanly to 5.3? I saw they are tagged for stable so it may just be easier to wait until they show up there. Given the time frame, it may end up about the same as waiting for 5.4 anyway.
Yes, the fixes apply cleaning on 5.3 except the revert change. Here is an extract:
Applying: drm/amdgpu: disable gfxoff on original raven Applying: drm/amdgpu: disable gfxoff when using register read interface Applying: Revert "drm/amd/display: enable S/G for RAVEN chip" error: patch failed: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:511 error: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c: patch does not apply error: patch failed: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:688 error: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c: patch does not apply Patch failed at 0094 Revert "drm/amd/display: enable S/G for RAVEN chip"
I tested kernel-5.4.0-2.fc32 for rawhide with the fix which works as intended and solved the freezing issue related on AMD Raven Ridge running radeontop. The kernel regression test passed as well.
kernel@lists.fedoraproject.org