Skip to content
Snippets Groups Projects
  1. Oct 23, 2022
    • Simon Ser's avatar
      amdgpu: silence uninitialized variable warning · 82b2b1e8
      Simon Ser authored
      
      The compiler isn't smart enough to tell that this can't happen:
      
          [30/74] Compiling C object amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o
          In file included from ../amdgpu/amdgpu_internal.h:32,
                           from ../amdgpu/amdgpu_bo.c:39:
          ../xf86atomic.h: In function ‘amdgpu_find_bo_by_cpu_mapping’:
          ../xf86atomic.h:47:54: warning: ‘bo’ may be used uninitialized [-Wmaybe-uninitialized]
             47 | # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
                |                                                      ^
          ../amdgpu/amdgpu_bo.c:536:27: note: ‘bo’ was declared here
            536 |         struct amdgpu_bo *bo;
                |                           ^~
      
      Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      82b2b1e8
  2. Oct 17, 2022
  3. Oct 06, 2022
  4. Oct 03, 2022
  5. Sep 29, 2022
  6. Sep 11, 2022
  7. Aug 31, 2022
  8. Aug 30, 2022
  9. Aug 23, 2022
  10. Aug 22, 2022
  11. Aug 18, 2022
  12. Aug 15, 2022
  13. Aug 03, 2022
    • Matt Roper's avatar
      lib: sync i915_pciids.h with kernel · 98794e2a
      Matt Roper authored
      This synchronizes with kernel commit 7835303982d1 ("drm/i915/mtl: Add
      MeteorLake PCI IDs") to bring in the missing PCI IDs for several recent
      platforms.
      
      These days adding PCI IDs to libdrm doesn't really matter for real-world
      system usage.  However there are still a few driver testing situations
      where they're needed (such as the IGT dma-buf tests that still rely on
      libdrm's bufmgr code).  At some point we should probably break that
      final IGT dependency on libdrm so that these PCI ID resyncs won't be
      necessary anymore, but that hasn't happened yet.
      
      References: https://gitlab.freedesktop.org/drm/intel/-/issues/5416
      
      
      Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
      98794e2a
  14. Jul 25, 2022
  15. Jul 22, 2022
  16. Jul 20, 2022
Loading