1. 03 12月, 2016 3 次提交
  2. 19 10月, 2016 1 次提交
  3. 10 10月, 2016 2 次提交
  4. 22 9月, 2016 1 次提交
  5. 15 9月, 2016 24 次提交
  6. 16 8月, 2016 2 次提交
  7. 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
  8. 23 7月, 2016 2 次提交
  9. 05 7月, 2016 3 次提交
  10. 22 6月, 2016 1 次提交
    • D
      drm: Lobotomize set_busid nonsense for !pci drivers · a3257256
      Daniel Vetter 提交于
      We already have a fallback in place to fill out the unique from
      dev->unique, which is set to something reasonable in drm_dev_alloc.
      
      Which means we only need to have a special set_busid for pci devices,
      to be able to care the backwards compat code for drm 1.1 around, which
      libdrm still needs.
      
      While developing and testing this patch things blew up in really
      interesting ways, and the code is rather confusing in naming things
      between the kernel code, ioctl #defines and libdrm. For the next brave
      dragon slayer, document all this madness properly in the userspace
      interface section of gpu.tmpl.
      
      v2: Make drm_dev_set_unique static and update kerneldoc.
      
      v3: Entire rewrite, plus document what's going on for posterity in the
      gpu docbook uapi section.
      
      v4: Drop accidental amdgpu hunk (Emil).
      
      v5: Drop accidental omapdrm vblank counter change (Emil).
      
      v6: Rebase on top of the sphinx conversion.
      
      Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (virt_gpu)
      Reviewed-by: NEmil Velikov <emil.l.velikov@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      a3257256