Bug 216120

Summary: [BISECTED][REGRESSION] drm/amdgpu: add drm buddy support to amdgpu
Product: Drivers Reporter: mat200300h
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED WILL_NOT_FIX    
Severity: normal CC: tasksynctest
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.19-rc1 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: BISECT_LOG
BISECT_LOG
journal 2022-07-14

Description mat200300h 2022-06-13 16:27:46 UTC
KDE plasma panel at the bottom of the desktop is empty. If I revert the patch
drm/amdgpu: add drm buddy support to amdgpu 	c9cad937c0c58618fe5b0310fd539a854dc1ae95 the panel shows widgets and running programs again. Fortunately the patch seems to revert cleanly.

BISECT_LOG and lspci attached
Comment 1 mat200300h 2022-06-13 16:31:10 UTC
Created attachment 301164 [details]
BISECT_LOG
Comment 2 mat200300h 2022-06-13 16:33:06 UTC
Created attachment 301165 [details]
BISECT_LOG
Comment 3 mat200300h 2022-06-14 05:59:18 UTC
same bad commit:
https://gitlab.freedesktop.org/drm/amd/-/issues/2050
Comment 4 mat200300h 2022-07-14 11:42:42 UTC
this patch:

https://gitlab.freedesktop.org/drm/amd/uploads/564b2cc2b5ea87357f39e45c3a1a44e2/0001-drm-amdgpu-Fix-for-drm-buddy-memory-corruption.patch

on top of 5.19.0-rc6 seems to fix the problem

tested:

5.19.0-rc6: NOT OK

5.19.0-rc6+0001-drm-amdgpu-Fix-for-drm-buddy-memory-corruption.patch: OK
Comment 5 mat200300h 2022-07-14 17:38:32 UTC
Created attachment 301427 [details]
journal 2022-07-14
Comment 6 mat200300h 2022-07-14 17:47:11 UTC
not quite there yet, after some hours of working with latest linus+0001-drm-amdgpu-Fix-for-drm-buddy-memory-corruption.patch (latest commit "vf/remap: return the amount of bytes actually deduplicated") display stopped working, keyboard was working so I could reboot blindly. Part of journal attached in comment 5. Maybe different bug.

I could perhaps bisect adding the patch to relevant steps but now I have had too many gin&tonics and seem to be talking to myself anyway.