diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2020-12-08 23:16:15 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-09 18:06:40 +0300 |
commit | ab43234d0bafcf2accd9db4fc4d193180b752f94 (patch) | |
tree | 71005ab42ab4ec599184cd58beaf178cd4fcfc9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 157fe68d74c2ad2db438c91af9ed3d3a51de4ed7 (diff) | |
download | linux-ab43234d0bafcf2accd9db4fc4d193180b752f94.tar.xz |
drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs
For BOs imported from outside of amdgpu, setting of amdgpu_gem_object_funcs
was missing in amdgpu_dma_buf_create_obj. Fix by refactoring BO creation
and amdgpu_gem_object_funcs setting into single function called
from both code paths.
Fixes: d693def4fd1c ("drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver")
v2: Use use amdgpu_gem_object_create() directly
v3: fix warning
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions