search for: amdgpu_bo_support_uswc

Displaying 4 results from an estimated 4 matches for "amdgpu_bo_support_uswc".

2020 Aug 13
2
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...,6 +36,7 @@ > #include <drm/amdgpu_drm.h> > #include <drm/drm_cache.h> > #include "amdgpu.h" > +#include "amdgpu_dma_buf.h" > #include "amdgpu_trace.h" > #include "amdgpu_amdkfd.h" > > @@ -510,6 +511,15 @@ bool amdgpu_bo_support_uswc(u64 bo_flags) > #endif > } > > +static const struct drm_gem_object_funcs amdgpu_gem_object_funcs = { > + .free = amdgpu_gem_object_free, > + .open = amdgpu_gem_object_open, > + .close = amdgpu_gem_object_close, > + .export = amdgpu_gem_prime_export, > + .vmap = amd...
2020 Aug 13
0
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...vers/gpu/drm/amd/amdgpu/amdgpu_object.c @@ -36,6 +36,7 @@ #include <drm/amdgpu_drm.h> #include <drm/drm_cache.h> #include "amdgpu.h" +#include "amdgpu_dma_buf.h" #include "amdgpu_trace.h" #include "amdgpu_amdkfd.h" @@ -510,6 +511,15 @@ bool amdgpu_bo_support_uswc(u64 bo_flags) #endif } +static const struct drm_gem_object_funcs amdgpu_gem_object_funcs = { + .free = amdgpu_gem_object_free, + .open = amdgpu_gem_object_open, + .close = amdgpu_gem_object_close, + .export = amdgpu_gem_prime_export, + .vmap = amdgpu_gem_prime_vmap, + .vunmap = amdgpu_gem_prime...
2020 Sep 14
0
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...#include <drm/amdgpu_drm.h> >> ? #include <drm/drm_cache.h> >> ? #include "amdgpu.h" >> +#include "amdgpu_dma_buf.h" >> ? #include "amdgpu_trace.h" >> ? #include "amdgpu_amdkfd.h" >> ? @@ -510,6 +511,15 @@ bool amdgpu_bo_support_uswc(u64 bo_flags) >> ? #endif >> ? } >> ? +static const struct drm_gem_object_funcs amdgpu_gem_object_funcs = { >> +??? .free = amdgpu_gem_object_free, >> +??? .open = amdgpu_gem_object_open, >> +??? .close = amdgpu_gem_object_close, >> +??? .export = amdgpu_ge...
2020 Aug 13
28
[PATCH 00/20] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #18 convert DRM drivers to GEM object functions, one by one. Each patch moves existing callbacks from struct drm_driver to an instance of