Skip to content
  1. May 12, 2018
  2. May 11, 2018
  3. May 10, 2018
    • Qiang Yu's avatar
      drm/lima: move ctx mgr fini to preclose · 34b47b5a
      Qiang Yu authored
      
      
      No need to wait for each buffer object idle
      if we fini ctx mgr before free them.
      
      va unmap case also don't need to wait because
      UMD is responsible for it.
      
      Signed-off-by: default avatarQiang Yu <yuq825@gmail.com>
      34b47b5a
    • Qiang Yu's avatar
      Revert "drm: Nerf the preclose callback for modern drivers" · ecabcccc
      Qiang Yu authored
      
      
      This reverts commit 45c3d213.
      
      lima driver need preclose to wait all task in the context
      created within closing file to finish before free all the
      buffer object. Otherwise pending tesk may fail and get
      noisy MMU fault message.
      
      Move this wait to each buffer object free function can
      achieve the same result but some buffer object is shared
      with other file context, but we only want to wait the
      closing file context's tasks. So the implementation is
      not that straight forword compared to the preclose one.
      
      Signed-off-by: default avatarQiang Yu <yuq825@gmail.com>
      ecabcccc
  4. May 09, 2018
  5. May 08, 2018
Loading