1. 24 May, 2016 3 commits
  2. 23 May, 2016 2 commits
  3. 24 Apr, 2016 1 commit
  4. 21 Apr, 2016 1 commit
  5. 20 Apr, 2016 3 commits
  6. 17 Mar, 2016 1 commit
  7. 09 Mar, 2016 1 commit
  8. 29 Nov, 2015 1 commit
    • Emil Velikov's avatar
      st/dri: fd management cleanups · d90ba57c
      Emil Velikov authored
      Add some checks if the original/dup'd fd is valid and ensure that we
      don't leak it on error. The former is implicitly handled within the
      pipe_loader, although let's make things explicit and check beforehand.
      
      Spotted by Coverity (CID 1339865)
      
      Cc: mesa-stable@lists.freedesktop.org
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      d90ba57c
  9. 21 Nov, 2015 4 commits
  10. 05 Oct, 2015 1 commit
  11. 03 Oct, 2015 1 commit
  12. 13 Jul, 2015 1 commit
  13. 07 Jul, 2015 1 commit
  14. 10 Jun, 2015 1 commit
  15. 12 May, 2015 1 commit
  16. 30 Apr, 2015 2 commits
  17. 01 Apr, 2015 1 commit
    • Dave Airlie's avatar
      egl: add initial EGL_MESA_image_dma_buf_export v2.4 · 8f7338f2
      Dave Airlie authored
      At the moment to get an EGL image to a dma-buf file descriptor,
      you have to use EGL_MESA_drm_image, and then use libdrm to
      convert this to a file descriptor.
      
      This extension just provides an API modelled on EGL_MESA_drm_image,
      to return a dma-buf file descriptor.
      
      v2: update spec for new API proposal
      add internal queries to get the fourcc back from intel driver.
      
      v2.1: add gallium pieces.
      
      v2.2: add offsets to spec and API, rename fd->fds, stride->strides
      in API. rewrite spec a bit more, add some q/a
      
      v2.3:
      add modifiers to query interface and 64-bit type for that (Daniel Stone)
      specifiy what happens to num fds vs num planes differences. (Chad Versace)
      
      v2.4:
      fix grammar (Daniel Stone)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      8f7338f2
  18. 18 Feb, 2015 1 commit
  19. 24 Sep, 2014 1 commit
  20. 05 Sep, 2014 1 commit
  21. 15 Aug, 2014 1 commit
  22. 12 Aug, 2014 1 commit
  23. 03 Aug, 2014 1 commit
    • Aaron Watry's avatar
      st/dri: Fix driver loading if swrast isn't built · 47e50396
      Aaron Watry authored
      If building hardware drivers only, then kms_swrast_create_screen
      won't be defined in inline_drm_helper.h and hardware drivers will
      fail to dlopen as a result.
      
      Copy the #if guards from inline_drm_helper.h to dri_kms_init_screen
      to make the definition/use of the function match.
      
      Fixes radeonsi_dri.so dlopen with the following configure:
      
      ./configure --with-dri-drivers= --with-dri-driverdir=/usr/local/lib/dri/ \
      --enable-gbm --enable-gallium-gbm --enable-debug --enable-opencl \
      --enable-opencl-icd --with-gallium-drivers=radeonsi \
      --with-egl-platforms=drm --enable-glx-tls --enable-texture-float \
      --enable-omx
      Signed-off-by: Aaron Watry's avatarAaron Watry <awatry@gmail.com>
      Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      47e50396
  24. 30 Jul, 2014 2 commits
    • Giovanni Campagna's avatar
      dri: Add a new capabilities for drivers that can't share buffers · e57ad3d3
      Giovanni Campagna authored
      The kms-dri swrast driver cannot share buffers using the GEM,
      so it must tell the loader to disable extensions relying on
      that, without disabling the image DRI extension altogether
      (which would prevent the loader from working at all).
      This requires a new gallium capability (which is queried on
      the pipe_screen and for swrast drivers it's forwarded to the
      winsys), and requires a new version of the DRI image extension.
      
      [Emil Velikov]
       - Rebased on top of gallium-dri megadrivers.
       - Drop PIPE_CAP_BUFFER_SHARE and sw_winsys::get_param hook.
      The can_share_buffer cap is set at InitScreen. We use a different
      InitScreen (and thus value for the cap) function for kms_dri, due to
      deeper differences originating from dri megadrivers.
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      e57ad3d3
    • Giovanni Campagna's avatar
      gallium: Add a dumb drm/kms winsys backed swrast provider · 3b176c44
      Giovanni Campagna authored
      Add a new winsys and target that can be used with a dri2 state tracker
      and loader instead of drisw. This allows to use gbm as a dri2/image
      loader and avoid the extra copy from the backbuffer to the shadow
      frontbuffer.
      
      The new driver is called "kms_swrast", and is loaded by gbm as a
      fallback, because it is only useful with the gbm platform (as no buffer
      sharing is possible)
      
      To force select the driver set the environment variable
      GBM_ALWAYS_SOFTWARE
      
      [Emil Velikov]
       - Rebase on top of gallium megadriver.
       - s/text/test/ in configure.ac (Spotted by Andreas Pokorny).
       - Add scons support for winsys/sw/kms-dri and fix the build.
       - Provide separate DriverAPI, due to different InitScreen hook.
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      3b176c44
  25. 10 Jul, 2014 3 commits
  26. 02 Jul, 2014 1 commit
  27. 27 Jun, 2014 2 commits