diff options
| author | Gerd Hoffmann <[email protected]> | 2019-08-05 14:01:10 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2019-08-06 06:21:54 +0000 |
| commit | b96f3e7c8069b749a40ca3a33c97835d57dd45d2 (patch) | |
| tree | a695e9c84d685b9c7d72dd7c3fe039c79c2830ed /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/ttm: use gem reservation object (diff) | |
| download | kernel-b96f3e7c8069b749a40ca3a33c97835d57dd45d2.tar.gz kernel-b96f3e7c8069b749a40ca3a33c97835d57dd45d2.zip | |
drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
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_object.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index 645a189d365c..113fb2feb437 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -191,7 +191,7 @@ static inline unsigned amdgpu_bo_gpu_page_alignment(struct amdgpu_bo *bo) */ static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) { - return drm_vma_node_offset_addr(&bo->tbo.vma_node); + return drm_vma_node_offset_addr(&bo->tbo.base.vma_node); } /** |
