Home
last modified time | relevance | path

Searched refs:nouveau_screen (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.h23 struct nouveau_screen { struct
126 p_atomic_add(&nouveau_screen((r)->base.screen)->stats.named.n, v); \ argument
135 static inline struct nouveau_screen *
136 nouveau_screen(struct pipe_screen *pscreen) in nouveau_screen() function
138 return (struct nouveau_screen *)pscreen; in nouveau_screen()
141 bool nouveau_drm_screen_unref(struct nouveau_screen *screen);
154 int nouveau_screen_init(struct nouveau_screen *, struct nouveau_device *);
155 void nouveau_screen_fini(struct nouveau_screen *);
157 void nouveau_screen_init_vdec(struct nouveau_screen *);
Dnouveau_fence.h24 struct nouveau_screen *screen;
35 bool nouveau_fence_new(struct nouveau_screen *, struct nouveau_fence **);
36 void nouveau_fence_cleanup(struct nouveau_screen *);
38 void nouveau_fence_update(struct nouveau_screen *, bool flushed);
39 void nouveau_fence_next(struct nouveau_screen *);
Dnouveau_fence.c33 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence) in nouveau_fence_new()
61 struct nouveau_screen *screen = fence->screen; in nouveau_fence_emit()
87 struct nouveau_screen *screen = fence->screen; in nouveau_fence_del()
112 nouveau_fence_cleanup(struct nouveau_screen *screen) in nouveau_fence_cleanup()
128 nouveau_fence_update(struct nouveau_screen *screen, bool flushed) in nouveau_fence_update()
172 struct nouveau_screen *screen = fence->screen; in nouveau_fence_signalled()
186 struct nouveau_screen *screen = fence->screen; in nouveau_fence_kick()
215 struct nouveau_screen *screen = fence->screen; in nouveau_fence_wait()
252 nouveau_fence_next(struct nouveau_screen *screen) in nouveau_fence_next()
Dnouveau_screen.c43 struct nouveau_screen *screen = nouveau_screen(pscreen); in nouveau_screen_get_name()
66 return cpu_time + nouveau_screen(pscreen)->cpu_gpu_time_delta; in nouveau_screen_get_timestamp()
72 return nouveau_screen(pscreen)->disk_shader_cache; in nouveau_screen_get_disk_shader_cache()
101 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nouveau_screen_bo_from_handle()
155 nouveau_disk_cache_create(struct nouveau_screen *screen) in nouveau_disk_cache_create()
191 nouveau_screen_init(struct nouveau_screen *screen, struct nouveau_device *dev) in nouveau_screen_init()
359 nouveau_screen_fini(struct nouveau_screen *screen) in nouveau_screen_fini()
Dnouveau_winsys.h90 extern struct nouveau_screen *
93 extern struct nouveau_screen *
96 extern struct nouveau_screen *
Dnouveau_buffer.c49 nouveau_buffer_allocate(struct nouveau_screen *screen, in nouveau_buffer_allocate()
113 nouveau_buffer_reallocate(struct nouveau_screen *screen, in nouveau_buffer_reallocate()
149 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), buf_obj_current_count, -1); in nouveau_buffer_destroy()
682 struct nouveau_screen *screen = nouveau_screen(pscreen); in nouveau_buffer_create()
818 struct nouveau_screen *screen = nv->screen; in nouveau_buffer_migrate()
891 struct nouveau_screen *screen = nouveau_screen(buf->base.screen); in nouveau_user_buffer_upload()
Dnouveau_vp3_video.c368 struct nouveau_screen *screen = nouveau_screen(pscreen); in firmware_present()
439 const int chipset = nouveau_screen(pscreen)->device->chipset; in nouveau_vp3_screen_get_video_param()
Dnouveau_video.c501 struct nouveau_screen *screen) in nouveau_create_decoder()
769 struct nouveau_screen *screen, in nouveau_video_buffer_create()
862 nouveau_screen_init_vdec(struct nouveau_screen *screen) in nouveau_screen_init_vdec()
872 struct nouveau_screen *screen = nouveau_context(context)->screen; in nouveau_context_create_decoder()
880 struct nouveau_screen *screen = nouveau_context(pipe)->screen; in nouveau_context_video_buffer_create()
Dnouveau_context.h14 struct nouveau_screen *screen;
Dnouveau_video.h21 struct nouveau_screen *screen;
Dmeson.build33 'nouveau_screen.c',
34 'nouveau_screen.h',
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c95 if (nouveau_screen(pscreen)->device->chipset >= 0x160) in nvc0_choose_tiled_storage_type()
336 nouveau_screen(pscreen)->tegra_sector_layout ? 0 : 1, in nvc0_miptree_get_modifier()
394 const uint8_t s = nouveau_screen(pscreen)->tegra_sector_layout ? 0 : 1; in nvc0_miptree_select_best_modifier()
447 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nvc0_miptree_create()
448 struct nouveau_drm *drm = nouveau_screen(pscreen)->drm; in nvc0_miptree_create()
534 mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); in nvc0_miptree_create()
549 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, 1); in nvc0_miptree_create()
550 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_bytes, in nvc0_miptree_create()
Dnvc0_resource.c48 const int s = nouveau_screen(screen)->tegra_sector_layout ? 0 : 1; in nvc0_query_dmabuf_modifiers()
88 const int s = nouveau_screen(screen)->tegra_sector_layout ? 0 : 1; in nvc0_is_dmabuf_modifier_supported()
144 ASSERTED struct nouveau_screen *screen = nouveau_screen(pipe); in nvc0_resource_from_user_memory()
Dnvc0_screen.c85 nouveau_screen(pscreen)->device->chipset != 0x12b && in nvc0_screen_is_format_supported()
86 nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS) in nvc0_screen_is_format_supported()
95 nouveau_screen(pscreen)->class_3d < NVE4_3D_CLASS) { in nvc0_screen_is_format_supported()
117 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_param()
118 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nvc0_screen_get_param()
322 … return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? PIPE_TEXTURE_TRANSFER_BLIT : 0; in nvc0_screen_get_param()
479 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nvc0_screen_get_shader_param()
578 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_paramf()
1041 struct nouveau_screen *
Dnvc0_resource.h31 if (nouveau_screen(pscreen)->device->chipset >= 0x160) in nvc0_get_kind_generation()
Dnvc0_screen.h70 struct nouveau_screen base;
Dnvc0_context.c42 struct nouveau_screen *screen = &nvc0->screen->base; in nvc0_svm_migrate()
84 struct nouveau_screen *screen = &nvc0->screen->base; in nvc0_flush()
/third_party/mesa3d/src/gallium/winsys/nouveau/drm/
Dnouveau_drm_winsys.c26 bool nouveau_drm_screen_unref(struct nouveau_screen *screen) in nouveau_drm_screen_unref()
46 struct nouveau_screen *(*init)(struct nouveau_device *); in nouveau_drm_screen_create()
47 struct nouveau_screen *screen = NULL; in nouveau_drm_screen_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c174 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, -1); in nv50_miptree_destroy()
175 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_bytes, in nv50_miptree_destroy()
333 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv50_miptree_create()
334 struct nouveau_drm *drm = nouveau_screen(pscreen)->drm; in nv50_miptree_create()
386 mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); in nv50_miptree_create()
438 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, 1); in nv50_miptree_from_handle()
Dnv50_screen.c107 struct nouveau_screen *screen = nouveau_screen(pscreen); in nv50_screen_get_param()
457 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nv50_screen_get_shader_param()
1001 struct nouveau_screen *
Dnv84_video.c268 struct nouveau_screen *screen = &nv50->screen->base; in nv84_create_decoder()
611 struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; in nv84_video_buffer_create()
751 struct nouveau_screen *screen = nouveau_screen(pscreen); in firmware_present()
Dnv50_screen.h61 struct nouveau_screen base;
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.h19 struct nouveau_screen base;
Dnv30_screen.c55 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv30_screen_get_param()
582 struct nouveau_screen *
Dnv30_context.c40 struct nouveau_screen *screen; in nv30_context_kick_notify()

12