Skip to content
Snippets Groups Projects
  1. Aug 20, 2023
    • Danilo Krummrich's avatar
      drm/nouveau: gpuva mgr dma-resv/extobj handling, GEM validation · e5c3e5b0
      Danilo Krummrich authored
      
      Make use of the DRM GPUVA managers GPU-VM common dma-resv, external GEM
      object tracking, dma-resv locking, evicted GEM object tracking and
      validation features.
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
      e5c3e5b0
    • Danilo Krummrich's avatar
      drm/gpuva_mgr: generalize dma_resv/extobj handling and GEM validation · 36f47d08
      Danilo Krummrich authored
      
      So far the DRM GPUVA manager offers common infrastructure to track GPU VA
      allocations and mappings, generically connect GPU VA mappings to their
      backing buffers and perform more complex mapping operations on the GPU VA
      space.
      
      However, there are more design patterns commonly used by drivers, which
      can potentially be generalized in order to make the DRM GPUVA manager
      represent a basic GPU-VM implementation. In this context, this patch aims
      at generalizing the following elements.
      
      1) Provide a common dma-resv for GEM objects not being used outside of
         this GPU-VM.
      
      2) Provide tracking of external GEM objects (GEM objects which are
         shared with other GPU-VMs).
      
      3) Provide functions to efficiently lock all GEM objects dma-resv the
         GPU-VM contains mappings of.
      
      4) Provide tracking of evicted GEM objects the GPU-VM contains mappings
         of, such that validation of evicted GEM objects is accelerated.
      
      5) Provide some convinience functions for common patterns.
      
      Rather than being designed as a "framework", the target is to make all
      features appear as a collection of optional helper functions, such that
      drivers are free to make use of the DRM GPUVA managers basic
      functionality and opt-in for other features without setting any feature
      flags, just by making use of the corresponding functions.
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
      36f47d08
    • Danilo Krummrich's avatar
      drm: drm_exec: build always builtin · 158029d3
      Danilo Krummrich authored
      
      drm_exec must always be builtin for the DRM GPUVA manager to depend on
      it.
      
      Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
      158029d3
  2. Aug 16, 2023
  3. Aug 14, 2023
  4. Aug 12, 2023
  5. Aug 11, 2023
  6. Aug 10, 2023
  7. Aug 09, 2023
Loading