[PATCH 0/2] drm/ttm, amdgpu: fix use-after-free in recent deadlock fix

Nicolai Hähnle nhaehnle at gmail.com
Tue Feb 14 09:18:43 UTC 2017


Hi all,

based on my current theory on how a deadlock could happen in the
buffer allocation code, these two patches should fix the deadlock
without having a use-after-free.

I'm still working on a way to clean up the ttm_bo_init sequence
overall, but I'm separating these two out for a hopefully quick fix,
since in my book use-after-frees are worse than deadlocks.

Samuel, I'd very much appreciate if you could check that the
deadlocks in Hitman remain fixed with these two patches.

Thanks,
Nicolai



More information about the amd-gfx mailing list