Displaying 4 results from an estimated 4 matches for "amdgpu_trac".
Did you mean:
amdgpu_trace
2020 Aug 13
2
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...ers/gpu/drm/amd/amdgpu/amdgpu_object.c
> +++ b/drivers/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...
2020 Aug 13
0
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...66331dd..ca2b79f94e99 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/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,...
2020 Sep 14
0
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
...u_object.c
>> +++ b/drivers/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,
>> +...
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