1. 03 12月, 2016 5 次提交
  2. 02 11月, 2016 1 次提交
  3. 25 10月, 2016 2 次提交
  4. 19 10月, 2016 1 次提交
  5. 12 10月, 2016 1 次提交
  6. 10 10月, 2016 2 次提交
  7. 22 9月, 2016 1 次提交
  8. 15 9月, 2016 24 次提交
  9. 16 8月, 2016 2 次提交
  10. 15 8月, 2016 1 次提交
    • L
      drm/etnaviv: take GPU lock later in the submit process · d9853490
      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 available events while
      the GPU is hung, the submit will wait for events to become available
      holding the GPU lock. The recover worker waits for this lock to become
      available before trying to recover the GPU which frees up the allocated
      events. Essentially both paths are deadlocked until the submit path
      times out waiting for available events, failing the submit that could
      otherwise be handled just fine if the recover worker had the chance to
      bring the GPU back in a working state.
      Signed-off-by: NLucas Stach <l.stach@pengutronix.de>
      Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      d9853490