1. 14 Nov, 2018 1 commit
  2. 30 Oct, 2018 1 commit
  3. 03 Oct, 2018 1 commit
    • Emil Velikov's avatar
      pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd · 6ccc435e
      Emil Velikov authored
      Currently pipe_loader_drm_probe_fd takes ownership of the fd given.
      To match that, pipe_loader_release closes it.
      
      Yet we have many instances which do not want the change of ownership,
      and thus duplicate the fd before passing it to the pipe-loader.
      
      Move the dup() within pipe-loader, explicitly document that and document
      all the cases through the codebase.
      
      A trivial git grep -2 pipe_loader_release makes things as obvious as it
      gets ;-)
      
      Cc: Leo Liu <leo.liu@amd.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Cc: Axel Davy <davyaxel0@gmail.com>
      Cc: Patrick Rudolph <siro@das-labor.org>
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: Axel Davy <davyaxel0@gmail.com> (for nine)
      6ccc435e
  4. 31 Jul, 2018 1 commit
  5. 29 May, 2018 1 commit
  6. 04 Aug, 2017 1 commit
  7. 02 Aug, 2017 1 commit
  8. 23 Jun, 2017 1 commit
  9. 04 Oct, 2016 1 commit
  10. 25 Aug, 2016 1 commit
  11. 23 May, 2016 1 commit
  12. 09 Mar, 2016 1 commit
  13. 29 Nov, 2015 1 commit
  14. 21 Nov, 2015 2 commits
  15. 17 Sep, 2015 1 commit
  16. 07 Sep, 2015 1 commit
    • Rob Clark's avatar
      xa: add xa_surface_from_handle2 v2 · 1432a182
      Rob Clark authored
      Like xa_surface_from_handle(), but takes a handle type, rather than
      hard-coding 'shared' handle.  This is needed to fix bugs seen with
      xf86-video-freedreno with xrandr rotation, for example.  The root issue
      is that doing a GEM_OPEN ioctl on a bo that already has a GEM handle
      associated with the drm_file will result in two unique handles for the
      same bo.  Which causes all sorts of follow-on fail.
      
      v2:
      - Add support for for fd handles.
      - Avoid duplicating code.
      - Bump xa version minor.
      Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      1432a182
  17. 13 Jul, 2015 1 commit
  18. 10 Jul, 2015 1 commit
  19. 12 Jun, 2015 1 commit
  20. 05 Apr, 2015 1 commit
  21. 22 Sep, 2014 1 commit
  22. 03 Jul, 2014 1 commit
    • Thomas Hellstrom's avatar
      st/xa: Don't close the drm fd on failure v2 · 35cf3831
      Thomas Hellstrom authored
      If XA fails to initialize with pipe_loader enabled, the pipe_loader's
      cleanup function will close the drm file descriptor. That's pretty bad
      because the file descriptor will probably be the X server driver's only
      connection to drm. Temporarily solve this by dup()'ing the file descriptor
      before handing it over to the pipe loader.
      
      This fixes freedesktop.org bugzilla bug #80645.
      
      v2: Fix CC addresses.
      
      Cc: "10.2" <mesa-stable@lists.freedesktop.org>
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarJakob Bornecrantz <jakob@vmware.com>
      35cf3831
  23. 30 Jun, 2014 1 commit
    • Emil Velikov's avatar
      targets/xa: provide alternative(static) xa target · 37e640a0
      Emil Velikov authored
      Now we can build the xa target (libxatracker) with either static
      pipe-drivers or shared ones. Currently we default to static.
      
       - Remove the unused CFLAGS/CPPFLAGS.
       - Use GALLIUM_TARGET_CFLAGS where applicable.
      
      v2: Update the printout messages at configure.
      v3: Drop inclusion of the wrapper winsys and softpipe/llvmpipe.
      
      Cc: Jakob Bornecrantz <jakob@vmware.com>
      Cc: Rob Clark <robclark@freedesktop.org>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      37e640a0
  24. 16 Feb, 2014 2 commits
  25. 25 Jul, 2013 3 commits
  26. 04 Jan, 2013 1 commit
  27. 25 Nov, 2011 1 commit
  28. 01 Nov, 2011 1 commit
  29. 11 Oct, 2011 1 commit
  30. 29 Sep, 2011 1 commit
  31. 27 Jun, 2011 1 commit
  32. 20 Jun, 2011 1 commit
  33. 15 Jun, 2011 1 commit