Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.h23 struct nouveau_screen { struct
125 p_atomic_add(&nouveau_screen((r)->base.screen)->stats.named.n, v); \ argument
134 static inline struct nouveau_screen *
135 nouveau_screen(struct pipe_screen *pscreen) in nouveau_screen() function
137 return (struct nouveau_screen *)pscreen; in nouveau_screen()
140 bool nouveau_drm_screen_unref(struct nouveau_screen *screen);
153 int nouveau_screen_init(struct nouveau_screen *, struct nouveau_device *);
154 void nouveau_screen_fini(struct nouveau_screen *);
156 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()
166 struct nouveau_screen *screen = fence->screen; in nouveau_fence_signalled()
180 struct nouveau_screen *screen = fence->screen; in nouveau_fence_kick()
209 struct nouveau_screen *screen = fence->screen; in nouveau_fence_wait()
246 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()
360 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_context.h14 struct nouveau_screen *screen;
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_video.h21 struct nouveau_screen *screen;
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c95 struct nouveau_screen *screen; in nouveau_init_screen2()
99 screen = CALLOC_STRUCT(nouveau_screen); in nouveau_init_screen2()
163 const struct nouveau_screen *const screen = in nouveau_query_renderer_integer()
164 (struct nouveau_screen *) psp->driverPrivate; in nouveau_query_renderer_integer()
200 const struct nouveau_screen *const screen = in nouveau_query_renderer_string()
201 (struct nouveau_screen *) psp->driverPrivate; in nouveau_query_renderer_string()
225 struct nouveau_screen *screen = dri_screen->driverPrivate; in nouveau_destroy_screen()
Dnouveau_context.h70 struct nouveau_screen *screen;
118 struct nouveau_screen *screen,
Dnouveau_screen.h34 struct nouveau_screen { struct
Dmeson.build37 'nouveau_screen.c',
38 'nouveau_screen.h',
Dnouveau_driver.h50 struct gl_context *(*context_create)(struct nouveau_screen *screen,
Dnouveau_context.c59 struct nouveau_screen *screen = dri_screen->driverPrivate; in nouveau_context_create()
110 struct nouveau_screen *screen, in nouveau_context_init()
/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/nvc0/
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_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()
444 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nvc0_miptree_create()
445 struct nouveau_drm *drm = nouveau_screen(pscreen)->drm; in nvc0_miptree_create()
531 mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); in nvc0_miptree_create()
546 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_count, 1); in nvc0_miptree_create()
547 NOUVEAU_DRV_STAT(nouveau_screen(pscreen), tex_obj_current_bytes, in nvc0_miptree_create()
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()
317 return nouveau_screen(pscreen)->vram_domain & NOUVEAU_BO_VRAM ? 1 : 0; in nvc0_screen_get_param()
467 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nvc0_screen_get_shader_param()
573 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nvc0_screen_get_paramf()
1027 struct nouveau_screen *
Dnvc0_resource.h31 if (nouveau_screen(pscreen)->device->chipset >= 0x160) in nvc0_get_kind_generation()
/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.c106 const uint16_t class_3d = nouveau_screen(pscreen)->class_3d; in nv50_screen_get_param()
107 struct nouveau_device *dev = nouveau_screen(pscreen)->device; in nv50_screen_get_param()
432 const struct nouveau_screen *screen = nouveau_screen(pscreen); in nv50_screen_get_shader_param()
1005 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()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_screen.h18 struct nouveau_screen base;

12