drm/ttm: convert to unified vma offset manager
[deliverable/linux.git] / drivers / gpu / drm / ast / ast_main.c
index f60fd7bd11839f0511bf2a436f1ebc79330f27c4..c195dc2abc09ada4af8e9aaef5d55eb60e300343 100644 (file)
@@ -487,7 +487,7 @@ void ast_gem_free_object(struct drm_gem_object *obj)
 
 static inline u64 ast_bo_mmap_offset(struct ast_bo *bo)
 {
-       return bo->bo.addr_space_offset;
+       return drm_vma_node_offset_addr(&bo->bo.vma_node);
 }
 int
 ast_dumb_mmap_offset(struct drm_file *file,
This page took 0.044617 seconds and 5 git commands to generate.