linux/drivers/gpu/drm/amd
Andrey Grodzovsky ab43234d0b 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: d693def4fd ("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>
2020-12-09 10:06:40 -05:00
..
acp
amdgpu drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs 2020-12-09 10:06:40 -05:00
amdkfd drm/amdkfd: Fix leak in dmabuf import 2020-12-09 10:06:39 -05:00
display drm/amd/display: Add wm table for Renoir 2020-12-09 10:06:39 -05:00
include drm/amdgpu: add Green_Sardine APU flag 2020-11-04 08:30:48 -05:00
pm drm/amd/pm: update smu10.h WORKLOAD_PPLIB setting for raven 2020-12-09 10:06:40 -05:00