Lines Matching refs:ast_plane
568 static int ast_plane_init(struct drm_device *dev, struct ast_plane *ast_plane, in ast_plane_init() argument
576 struct drm_plane *plane = &ast_plane->base; in ast_plane_init()
578 ast_plane->vaddr = vaddr; in ast_plane_init()
579 ast_plane->offset = offset; in ast_plane_init()
580 ast_plane->size = size; in ast_plane_init()
629 static void ast_handle_damage(struct ast_plane *ast_plane, struct iosys_map *src, in ast_handle_damage() argument
633 struct iosys_map dst = IOSYS_MAP_INIT_VADDR_IOMEM(ast_plane->vaddr); in ast_handle_damage()
649 struct ast_plane *ast_plane = to_ast_plane(plane); in ast_primary_plane_helper_atomic_update() local
665 ast_handle_damage(ast_plane, shadow_plane_state->data, fb, &damage); in ast_primary_plane_helper_atomic_update()
682 struct ast_plane *ast_plane = to_ast_plane(plane); in ast_primary_plane_helper_atomic_enable() local
690 ast_set_start_address_crt1(ast, (u32)ast_plane->offset); in ast_primary_plane_helper_atomic_enable()
705 struct ast_plane *ast_plane = to_ast_plane(plane); in ast_primary_plane_helper_get_scanout_buffer() local
707 if (plane->state && plane->state->fb && ast_plane->vaddr) { in ast_primary_plane_helper_get_scanout_buffer()
712 iosys_map_set_vaddr_iomem(&sb->map[0], ast_plane->vaddr); in ast_primary_plane_helper_get_scanout_buffer()
737 struct ast_plane *ast_primary_plane = &ast->primary_plane; in ast_primary_plane_init()
898 struct ast_plane *ast_plane = to_ast_plane(plane); in ast_cursor_plane_helper_atomic_update() local
907 u64 dst_off = ast_plane->offset; in ast_cursor_plane_helper_atomic_update()
908 u8 __iomem *dst = ast_plane->vaddr; /* TODO: Use mapping abstraction properly */ in ast_cursor_plane_helper_atomic_update()
980 struct ast_plane *ast_cursor_plane = &ast->cursor_plane; in ast_cursor_plane_init()