On 2/12/19 2:00 PM, Mikhail Gavrilov wrote:
I suspect the issue is that amdgpu_dm_do_flip is holding the BO reserved
and then stack waiting for fences to signal in
reservation_object_wait_timeout_rcu (which won't signal because there
was a VM_FAULT). Then when we try to shutdown display block during reset
recovery from drm_atomic_helper_suspend we also try to reserve the BO,
probably from dm_plane_helper_cleanup_fb ending in deadlock.
To confirm i am attaching some printks around the BO reservation -
please apply and rerun.
Also, probably a good idea to open FDO ticket on this instead of using
amd-gfx.
Andrey
Hi Andrey,
Looks likes at least one line missed in Linux tree or patch incorrect.
Sorry, for your kernel this particular set of prints should go in
amdgpu_dm_do_flip
Andrey
--
Best Regards,
Mike Gavrilov.
|
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx