projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/ttm: convert to unified vma offset manager
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpu
/
drm
/
ast
/
ast_main.c
diff --git
a/drivers/gpu/drm/ast/ast_main.c
b/drivers/gpu/drm/ast/ast_main.c
index f60fd7bd11839f0511bf2a436f1ebc79330f27c4..c195dc2abc09ada4af8e9aaef5d55eb60e300343 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_main.c
+++ b/
drivers/gpu/drm/ast/ast_main.c
@@
-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,