Home
last modified time | relevance | path

Searched refs:ast_plane (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/ast/
H A Dast_mode.c460 int ast_plane_init(struct drm_device *dev, struct ast_plane *ast_plane, in ast_plane_init() argument
468 struct drm_plane *plane = &ast_plane->base; in ast_plane_init()
470 ast_plane->offset = offset; in ast_plane_init()
471 ast_plane->size = size; in ast_plane_init()
478 void __iomem *ast_plane_vaddr(struct ast_plane *ast_plane) in ast_plane_vaddr() argument
480 struct ast_device *ast = to_ast_device(ast_plane->base.dev); in ast_plane_vaddr()
482 return ast->vram + ast_plane->offset; in ast_plane_vaddr()
527 static void ast_handle_damage(struct ast_plane *ast_plane, struct iosys_map *src, in ast_handle_damage() argument
531 struct iosys_map dst = IOSYS_MAP_INIT_VADDR_IOMEM(ast_plane_vaddr(ast_plane)); in ast_handle_damage()
547 struct ast_plane *ast_plane = to_ast_plane(plane); in ast_primary_plane_helper_atomic_update() local
[all …]
H A Dast_drv.h124 struct ast_plane { struct
131 static inline struct ast_plane *to_ast_plane(struct drm_plane *plane) in to_ast_plane() argument
133 return container_of(plane, struct ast_plane, base); in to_ast_plane()
137 struct ast_plane base;
209 struct ast_plane primary_plane;
541 int ast_plane_init(struct drm_device *dev, struct ast_plane *ast_plane,
548 void __iomem *ast_plane_vaddr(struct ast_plane *ast);