summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/scheduler
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2020-12-08 23:16:15 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-12-10 07:17:03 +0300
commitf8aab60422c371425365d386dfd51e0c6c5b1041 (patch)
tree565ca049f29fa75953a74153ff062267fccf7e11 /drivers/gpu/drm/scheduler
parent300186795254f848900de2f1485b8b31dda3dbc0 (diff)
downloadlinux-f8aab60422c371425365d386dfd51e0c6c5b1041.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 'drivers/gpu/drm/scheduler')
0 files changed, 0 insertions, 0 deletions