1. 30 Jul, 2018 3 commits
    • Rob Clark's avatar
      freedreno: small cleanup · 2932a031
      Rob Clark authored
      
      
      Make cheezy growable array thing less open-coded before adding more.
      Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
      2932a031
    • Rob Clark's avatar
      freedreno: add fd_ringbuffer_new_object() · fcbf206a
      Rob Clark authored
      
      
      Add new API for reusable "state objects" which can be re-used multiple
      times.  Backend implementation for msm will follow.  (Probably not
      needed to support this for any device that uses kgsl backend, since this
      is mostly useful for a5xx+.)
      Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
      fcbf206a
    • Mariusz Ceier's avatar
      xf86drm: Fix error path in drmGetDevice2 · 4519db23
      Mariusz Ceier authored
      In drmGetDevice2 when no local device is found or when
      drm_device_has_rdev filters out all devices, *device might be left
      uninitialized causing drmGetDevice2 to not return error - since
      it's only returned when *device == NULL.
      
      Above leads to crash in the firefox in system with amdgpu.
      
      With this change firefox displays:
      
      libGL error: MESA-LOADER: failed to retrieve device information
      libGL error: unable to load driver: amdgpu_dri.so
      libGL error: driver pointer missing
      libGL error: failed to load driver: amdgpu
      libGL error: MESA-LOADER: failed to retrieve device information
      libGL error: unable to load driver: amdgpu_dri.so
      libGL error: driver pointer missing
      libGL error: failed to load driver: amdgpu
      
      and doesn't crash.
      
      Bugzilla: https://bugs.freedesktop.org/107384
      
      Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
      Signed-off-by: default avatarMariusz Ceier <mceier+mesa-dev@gmail.com>
      4519db23
  2. 25 Jul, 2018 1 commit
  3. 24 Jul, 2018 10 commits
  4. 17 Jul, 2018 1 commit
  5. 11 Jul, 2018 2 commits
  6. 20 Jun, 2018 2 commits
  7. 18 Jun, 2018 1 commit
  8. 25 May, 2018 3 commits
  9. 22 May, 2018 1 commit
  10. 21 May, 2018 1 commit
  11. 09 May, 2018 2 commits
  12. 01 May, 2018 1 commit
  13. 27 Apr, 2018 1 commit
  14. 24 Apr, 2018 1 commit
  15. 19 Apr, 2018 1 commit
  16. 06 Apr, 2018 1 commit
  17. 03 Apr, 2018 1 commit
    • John Stultz's avatar
      libdrm: gralloc_handle.h: Fix build issue with Android · 35affe89
      John Stultz authored
      
      
      In trying to integrate the new gralloc_handle.h with the
      drm_hwcomposer, I started seeing the following compilation
      errors:
      
      In file included from external/drm_hwcomposer/platformdrmgeneric.cpp:28:
      external/libdrm/android/gralloc_handle.h:108:9: error: cannot initialize return object of type 'native_handle_t *' (aka 'native_handle *') with an lvalue of type 'struct gralloc_handle_t *'
              return handle;
                     ^~~~~~
      1 error generated.
      
      This seems to be due to the gralloc_handle_create() definition
      needs to return a native_handle_t * type, rather then a
      gralloc_handle_t *, which is what the code actually returns.
      
      After talking w/ Rob Herring, having the code return the
      native handle should be the proper fix, so that is what
      this patch changes.
      
      Cc: Chih-Wei Huang <cwhuang@android-x86.org>
      Cc: Stefan Schake <stschake@gmail.com>
      Cc: Robert Foss <robert.foss@collabora.com>
      Cc: Sean Paul <seanpaul@google.com>
      Cc: Rob Herring <robh@kernel.org>
      Signed-off-by: John Stultz's avatarJohn Stultz <john.stultz@linaro.org>
      Reviewed-by: Robert Foss's avatarRobert Foss <robert.foss@collabora.com>
      35affe89
  18. 30 Mar, 2018 3 commits
  19. 28 Mar, 2018 2 commits
  20. 22 Mar, 2018 2 commits