Lines Matching refs:pscreen
83 etna_screen_resource_alloc_ts(struct pipe_screen *pscreen, in etna_screen_resource_alloc_ts() argument
86 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_resource_alloc_ts()
144 etna_screen_can_create_resource(struct pipe_screen *pscreen, in etna_screen_can_create_resource() argument
147 struct etna_screen *screen = etna_screen(pscreen); in etna_screen_can_create_resource()
206 etna_resource_alloc(struct pipe_screen *pscreen, unsigned layout, in etna_resource_alloc() argument
209 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_alloc()
264 rsc->base.screen = pscreen; in etna_resource_alloc()
290 rsc->bo = etna_screen_bo_from_handle(pscreen, &handle); in etna_resource_alloc()
328 etna_resource_create(struct pipe_screen *pscreen, in etna_resource_create() argument
331 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_create()
364 return etna_resource_alloc(pscreen, layout, DRM_FORMAT_MOD_LINEAR, templat); in etna_resource_create()
427 etna_resource_create_modifiers(struct pipe_screen *pscreen, in etna_resource_create_modifiers() argument
431 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_create_modifiers()
444 return etna_resource_alloc(pscreen, modifier_to_layout(modifier), modifier, &tmpl); in etna_resource_create_modifiers()
448 etna_resource_changed(struct pipe_screen *pscreen, struct pipe_resource *prsc) in etna_resource_changed() argument
454 etna_resource_destroy(struct pipe_screen *pscreen, struct pipe_resource *prsc) in etna_resource_destroy() argument
470 renderonly_scanout_destroy(rsc->scanout, etna_screen(pscreen)->ro); in etna_resource_destroy()
486 etna_resource_from_handle(struct pipe_screen *pscreen, in etna_resource_from_handle() argument
490 struct etna_screen *screen = etna_screen(pscreen); in etna_resource_from_handle()
512 prsc->screen = pscreen; in etna_resource_from_handle()
514 rsc->bo = etna_screen_bo_from_handle(pscreen, handle); in etna_resource_from_handle()
568 etna_resource_destroy(pscreen, prsc); in etna_resource_from_handle()
574 etna_resource_get_handle(struct pipe_screen *pscreen, in etna_resource_get_handle() argument
696 etna_resource_screen_init(struct pipe_screen *pscreen) in etna_resource_screen_init() argument
698 pscreen->can_create_resource = etna_screen_can_create_resource; in etna_resource_screen_init()
699 pscreen->resource_create = etna_resource_create; in etna_resource_screen_init()
700 pscreen->resource_create_with_modifiers = etna_resource_create_modifiers; in etna_resource_screen_init()
701 pscreen->resource_from_handle = etna_resource_from_handle; in etna_resource_screen_init()
702 pscreen->resource_get_handle = etna_resource_get_handle; in etna_resource_screen_init()
703 pscreen->resource_changed = etna_resource_changed; in etna_resource_screen_init()
704 pscreen->resource_destroy = etna_resource_destroy; in etna_resource_screen_init()