[PATCH] drm/etnaviv: take GPU lock later in the submit process

2016-08-15 Thread Christian Gmeiner
2016-08-08 13:00 GMT+02:00 Lucas Stach : > Both the fence and event alloc are safe to be done without holding the GPU > lock, as they either don't need any locking (fences) or are protected by > their own lock (events). > > This solves a bad locking interaction between the submit path and the > rec

[PATCH] drm/etnaviv: take GPU lock later in the submit process

2016-08-08 Thread Lucas Stach
Both the fence and event alloc are safe to be done without holding the GPU lock, as they either don't need any locking (fences) or are protected by their own lock (events). This solves a bad locking interaction between the submit path and the recover worker. If userspace manages to exhaust all ava