Bad rss-counter state from drm/ttm, drm/vmwgfx: Support huge TTM pagefaults

Thomas Hellström (VMware) thomas_os at shipmail.org
Mon Apr 6 21:04:37 UTC 2020


Hi,

On 4/6/20 9:51 PM, Alex Xu (Hello71) wrote:
> Using 314b658 with amdgpu, starting sway and firefox causes "BUG: Bad
> rss-counter state" and "BUG: non-zero pgtables_bytes on freeing mm" to
> start filling dmesg, and then closing programs causes more BUGs and
> hangs, and then everything grinds to a halt (can't start more programs,
> can't even reboot through systemd).
>
> Using master and reverting that branch up to that point fixes the
> problem.
>
> I'm using a Ryzen 1600 and AMD Radeon RX 480 on an ASRock B450 Pro4
> board with IOMMU enabled.

If you could try the attached patch, that'd be great!

Thanks,

Thomas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-ttm-Temporarily-disable-the-huge_fault-callback.patch
Type: text/x-patch
Size: 2775 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200406/db650386/attachment.bin>


More information about the dri-devel mailing list