diff options
| author | Gerd Hoffmann <[email protected]> | 2019-08-05 14:01:07 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2019-08-06 06:21:54 +0000 |
| commit | c105de2828e13931cd218e8b801cd6762b618992 (patch) | |
| tree | 669ee2938219f6a3b405963a0d54e5ec889baf8b /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
| parent | drm/radeon: use embedded gem object (diff) | |
| download | kernel-c105de2828e13931cd218e8b801cd6762b618992.tar.gz kernel-c105de2828e13931cd218e8b801cd6762b618992.zip | |
drm/amdgpu: use embedded gem object
Drop drm_gem_object from amdgpu_bo, use the
ttm_buffer_object.base instead.
Build tested only.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index 344f277b54f0..ca32db6ef5c0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c @@ -393,7 +393,7 @@ amdgpu_gem_prime_import_sg_table(struct drm_device *dev, bo->prime_shared_count = 1; reservation_object_unlock(resv); - return &bo->gem_base; + return &bo->tbo.base; error: reservation_object_unlock(resv); |
