Bug 211161

Summary: list_del corruption in ttm_pool_shrink
Product: Drivers Reporter: Benji Wiebe (benjiwiebe14)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: alexdeucher, benjiwiebe14
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.11.0-rc3 Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel BUG dmesg 1
kernel BUG dmesg 2

Description Benji Wiebe 2021-01-13 00:44:51 UTC
Created attachment 294611 [details]
kernel BUG dmesg 1

I've been getting occasional graphics lockups, fixable only by reboot. I was hard rebooting until I realized I could ssh in to my desktop still, so here are two dmesg logs that I've captured. There's also a report of (I think) this same bug in the LKML: https://lkml.org/lkml/2020/12/31/47
Comment 1 Benji Wiebe 2021-01-13 00:45:37 UTC
Created attachment 294613 [details]
kernel BUG dmesg 2
Comment 2 Alex Deucher 2021-01-13 02:11:52 UTC
(In reply to Benji Wiebe from comment #0)
> Created attachment 294611 [details]
> kernel BUG dmesg 1
> 
> I've been getting occasional graphics lockups, fixable only by reboot. I was
> hard rebooting until I realized I could ssh in to my desktop still, so here
> are two dmesg logs that I've captured. There's also a report of (I think)
> this same bug in the LKML: https://lkml.org/lkml/2020/12/31/47

If it's the same issue, it's fixed with these patches:
https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes&id=e0658f970a7f3d85431c6803b7d5169444fb11b0
https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes&id=a73858ef4d5e1d425e171f0f6a52864176a6a979
Comment 3 Benji Wiebe 2021-01-13 02:24:13 UTC
(In reply to Alex Deucher from comment #2)

> If it's the same issue, it's fixed with these patches:
> https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-
> fixes&id=e0658f970a7f3d85431c6803b7d5169444fb11b0
> https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-
> fixes&id=a73858ef4d5e1d425e171f0f6a52864176a6a979

OK, thanks. I've sometimes used the whole graphics stack built from source; I'll do it again, using the latest drm, and see if that fixes it.
Comment 4 Benji Wiebe 2021-01-19 18:15:24 UTC
It was happening regularly to me previously, but now using DRM master I haven't seen it happen once. Looks like you were right about it being fixed in those patches.

Thanks!