Home
last modified time | relevance | path

Searched refs:nouveau_channel (Results 1 – 25 of 50) sorted by relevance

12

/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_drv.h213 struct nouveau_channel { struct
318 int (*context_new)(struct nouveau_channel *, int engine); argument
319 void (*context_del)(struct nouveau_channel *, int engine);
320 int (*object_new)(struct nouveau_channel *, int engine,
334 int (*get)(struct nouveau_gpuobj *, struct nouveau_channel *,
386 int (*create_context)(struct nouveau_channel *);
387 void (*destroy_context)(struct nouveau_channel *);
388 int (*load_context)(struct nouveau_channel *);
753 struct nouveau_channel *ptr[NOUVEAU_MAX_CHANNEL_NR];
757 struct nouveau_channel *channel;
[all …]
Dnouveau_dma.h34 void nv50_dma_push(struct nouveau_channel *, struct nouveau_bo *,
103 RING_SPACE(struct nouveau_channel *chan, int size) in RING_SPACE()
116 OUT_RING(struct nouveau_channel *chan, int data) in OUT_RING()
127 OUT_RINGp(struct nouveau_channel *chan, const void *data, unsigned nr_dwords);
130 BEGIN_NVC0(struct nouveau_channel *chan, int op, int subc, int mthd, int size) in BEGIN_NVC0()
136 BEGIN_RING(struct nouveau_channel *chan, int subc, int mthd, int size) in BEGIN_RING()
148 FIRE_RING(struct nouveau_channel *chan) in FIRE_RING()
170 WIND_RING(struct nouveau_channel *chan) in WIND_RING()
Dnouveau_ramht.h30 struct nouveau_channel *channel;
47 struct nouveau_channel *unref_channel);
49 extern int nouveau_ramht_insert(struct nouveau_channel *, u32 handle,
51 extern int nouveau_ramht_remove(struct nouveau_channel *, u32 handle);
53 nouveau_ramht_find(struct nouveau_channel *chan, u32 handle);
Dnouveau_channel.c33 nouveau_channel_pushbuf_init(struct nouveau_channel *chan) in nouveau_channel_pushbuf_init()
116 nouveau_channel_alloc(struct drm_device *dev, struct nouveau_channel **chan_ret, in nouveau_channel_alloc()
123 struct nouveau_channel *chan; in nouveau_channel_alloc()
234 struct nouveau_channel *
235 nouveau_channel_get_unlocked(struct nouveau_channel *ref) in nouveau_channel_get_unlocked()
237 struct nouveau_channel *chan = NULL; in nouveau_channel_get_unlocked()
245 struct nouveau_channel *
249 struct nouveau_channel *chan; in nouveau_channel_get()
266 nouveau_channel_put_unlocked(struct nouveau_channel **pchan) in nouveau_channel_put_unlocked()
268 struct nouveau_channel *chan = *pchan; in nouveau_channel_put_unlocked()
[all …]
Dnv04_graph.c355 static struct nouveau_channel *
383 nv04_graph_load_context(struct nouveau_channel *chan) in nv04_graph_load_context()
408 struct nouveau_channel *chan = NULL; in nv04_graph_unload_context()
429 nv04_graph_context_new(struct nouveau_channel *chan, int engine) in nv04_graph_context_new()
445 nv04_graph_context_del(struct nouveau_channel *chan, int engine) in nv04_graph_context_del()
468 nv04_graph_object_new(struct nouveau_channel *chan, int engine, in nv04_graph_object_new()
554 nv04_graph_mthd_set_ref(struct nouveau_channel *chan, in nv04_graph_mthd_set_ref()
562 nv04_graph_mthd_page_flip(struct nouveau_channel *chan, in nv04_graph_mthd_page_flip()
650 nv04_graph_set_ctx1(struct nouveau_channel *chan, u32 mask, u32 value) in nv04_graph_set_ctx1()
667 nv04_graph_set_ctx_val(struct nouveau_channel *chan, u32 mask, u32 value) in nv04_graph_set_ctx_val()
[all …]
Dnv50_display.h39 struct nouveau_channel *sync;
48 struct nouveau_channel *master;
81 struct nouveau_channel *chan);
90 int nv50_evo_dmaobj_new(struct nouveau_channel *, u32 handle, u32 memtype,
Dnouveau_dma.c34 nouveau_dma_init(struct nouveau_channel *chan) in nouveau_dma_init()
58 OUT_RINGp(struct nouveau_channel *chan, const void *data, unsigned nr_dwords) in OUT_RINGp()
78 READ_GET(struct nouveau_channel *chan, uint64_t *prev_get, int *timeout) in READ_GET()
109 nv50_dma_push(struct nouveau_channel *chan, struct nouveau_bo *bo, in nv50_dma_push()
136 nv50_dma_push_wait(struct nouveau_channel *chan, int count) in nv50_dma_push_wait()
162 nv50_dma_wait(struct nouveau_channel *chan, int slots, int count) in nv50_dma_wait()
205 nouveau_dma_wait(struct nouveau_channel *chan, int slots, int size) in nouveau_dma_wait()
Dnouveau_ramht.c31 nouveau_ramht_hash_handle(struct nouveau_channel *chan, u32 handle) in nouveau_ramht_hash_handle()
67 nouveau_ramht_entry_same_channel(struct nouveau_channel *chan, in nouveau_ramht_entry_same_channel()
84 nouveau_ramht_insert(struct nouveau_channel *chan, u32 handle, in nouveau_ramht_insert()
159 nouveau_ramht_remove_entry(struct nouveau_channel *chan, u32 handle) in nouveau_ramht_remove_entry()
184 nouveau_ramht_remove_hash(struct nouveau_channel *chan, u32 handle) in nouveau_ramht_remove_hash()
220 nouveau_ramht_remove(struct nouveau_channel *chan, u32 handle) in nouveau_ramht_remove()
235 nouveau_ramht_find(struct nouveau_channel *chan, u32 handle) in nouveau_ramht_find()
290 struct nouveau_channel *chan) in nouveau_ramht_ref()
Dnvc0_instmem.c32 struct nouveau_channel *bar1;
34 struct nouveau_channel *bar3;
59 nvc0_channel_del(struct nouveau_channel **pchan) in nvc0_channel_del()
61 struct nouveau_channel *chan; in nvc0_channel_del()
77 struct nouveau_channel **pchan, in nvc0_channel_new()
80 struct nouveau_channel *chan; in nvc0_channel_new()
Dnv50_evo.c33 nv50_evo_channel_del(struct nouveau_channel **pevo) in nv50_evo_channel_del()
35 struct nouveau_channel *evo = *pevo; in nv50_evo_channel_del()
77 nv50_evo_dmaobj_new(struct nouveau_channel *evo, u32 handle, u32 memtype, in nv50_evo_dmaobj_new()
104 struct nouveau_channel **pevo) in nv50_evo_channel_new()
107 struct nouveau_channel *evo; in nv50_evo_channel_new()
110 evo = kzalloc(sizeof(struct nouveau_channel), GFP_KERNEL); in nv50_evo_channel_new()
153 nv50_evo_channel_init(struct nouveau_channel *evo) in nv50_evo_channel_init()
206 nv50_evo_channel_fini(struct nouveau_channel *evo) in nv50_evo_channel_fini()
244 struct nouveau_channel *evo; in nv50_evo_create()
Dnouveau_fence.c41 struct nouveau_channel *channel;
75 nouveau_fence_update(struct nouveau_channel *chan) in nouveau_fence_update()
112 nouveau_fence_new(struct nouveau_channel *chan, struct nouveau_fence **pfence, in nouveau_fence_new()
133 struct nouveau_channel *
142 struct nouveau_channel *chan = fence->channel; in nouveau_fence_emit()
221 struct nouveau_channel *chan = fence->channel; in __nouveau_fence_signalled()
334 semaphore_acquire(struct nouveau_channel *chan, struct nouveau_semaphore *sema) in semaphore_acquire()
387 semaphore_release(struct nouveau_channel *chan, struct nouveau_semaphore *sema) in semaphore_release()
442 struct nouveau_channel *wchan) in nouveau_fence_sync()
444 struct nouveau_channel *chan = nouveau_fence_channel(fence); in nouveau_fence_sync()
[all …]
Dnv50_instmem.c47 nv50_channel_del(struct nouveau_channel **pchan) in nv50_channel_del()
49 struct nouveau_channel *chan; in nv50_channel_del()
67 struct nouveau_channel **pchan) in nv50_channel_new()
72 struct nouveau_channel *chan; in nv50_channel_new()
131 struct nouveau_channel *chan; in nv50_instmem_init()
237 struct nouveau_channel *chan = dev_priv->channels.ptr[0]; in nv50_instmem_takedown()
283 struct nouveau_channel *chan = dev_priv->channels.ptr[0]; in nv50_instmem_resume()
309 nv50_instmem_get(struct nouveau_gpuobj *gpuobj, struct nouveau_channel *chan, in nv50_instmem_get()
Dnouveau_notifier.c34 nouveau_notifier_init_channel(struct nouveau_channel *chan) in nouveau_notifier_init_channel()
83 nouveau_notifier_takedown_channel(struct nouveau_channel *chan) in nouveau_notifier_takedown_channel()
110 nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, in nouveau_notifier_alloc()
189 struct nouveau_channel *chan; in nouveau_ioctl_notifier_alloc()
Dnv31_mpeg.c36 nv31_mpeg_context_new(struct nouveau_channel *chan, int engine) in nv31_mpeg_context_new()
48 nv31_mpeg_context_del(struct nouveau_channel *chan, int engine) in nv31_mpeg_context_del()
56 nv40_mpeg_context_new(struct nouveau_channel *chan, int engine) in nv40_mpeg_context_new()
86 nv40_mpeg_context_del(struct nouveau_channel *chan, int engine) in nv40_mpeg_context_del()
106 nv31_mpeg_object_new(struct nouveau_channel *chan, int engine, in nv31_mpeg_object_new()
171 nv31_mpeg_mthd_dma(struct nouveau_channel *chan, u32 class, u32 mthd, u32 data) in nv31_mpeg_mthd_dma()
Dnouveau_object.c44 int (*exec)(struct nouveau_channel *, u32 class, u32 mthd, u32 data);
73 int (*exec)(struct nouveau_channel *, u32, u32, u32)) in nouveau_gpuobj_mthd_new() argument
98 nouveau_gpuobj_mthd_call(struct nouveau_channel *chan, in nouveau_gpuobj_mthd_call()
123 struct nouveau_channel *chan = NULL; in nouveau_gpuobj_mthd_call2()
168 nouveau_gpuobj_new(struct drm_device *dev, struct nouveau_channel *chan, in nouveau_gpuobj_new()
444 nv50_gpuobj_dma_new(struct nouveau_channel *chan, int class, u64 base, u64 size, in nv50_gpuobj_dma_new()
461 nouveau_gpuobj_dma_new(struct nouveau_channel *chan, int class, u64 base, in nouveau_gpuobj_dma_new()
595 nouveau_gpuobj_sw_new(struct nouveau_channel *chan, u32 handle, u16 class) in nouveau_gpuobj_sw_new()
620 nouveau_gpuobj_gr_new(struct nouveau_channel *chan, u32 handle, int class) in nouveau_gpuobj_gr_new()
652 nouveau_gpuobj_channel_init_pramin(struct nouveau_channel *chan) in nouveau_gpuobj_channel_init_pramin()
[all …]
Dnv10_graph.c414 static void nv10_graph_save_pipe(struct nouveau_channel *chan) in nv10_graph_save_pipe()
432 static void nv10_graph_load_pipe(struct nouveau_channel *chan) in nv10_graph_load_pipe()
482 static void nv10_graph_create_pipe(struct nouveau_channel *chan) in nv10_graph_create_pipe()
659 static void nv10_graph_load_dma_vtxbuf(struct nouveau_channel *chan, in nv10_graph_load_dma_vtxbuf()
730 nv10_graph_load_context(struct nouveau_channel *chan) in nv10_graph_load_context()
763 struct nouveau_channel *chan; in nv10_graph_unload_context()
794 struct nouveau_channel *chan = NULL; in nv10_graph_context_switch()
821 struct nouveau_channel *
837 nv10_graph_context_new(struct nouveau_channel *chan, int engine) in nv10_graph_context_new()
874 nv10_graph_context_del(struct nouveau_channel *chan, int engine) in nv10_graph_context_del()
[all …]
Dnv84_crypt.c36 nv84_crypt_context_new(struct nouveau_channel *chan, int engine) in nv84_crypt_context_new()
65 nv84_crypt_context_del(struct nouveau_channel *chan, int engine) in nv84_crypt_context_del()
92 nv84_crypt_object_new(struct nouveau_channel *chan, int engine, in nv84_crypt_object_new()
Dnva3_copy.c38 nva3_copy_context_new(struct nouveau_channel *chan, int engine) in nva3_copy_context_new()
67 nva3_copy_object_new(struct nouveau_channel *chan, int engine, in nva3_copy_object_new()
79 nva3_copy_context_del(struct nouveau_channel *chan, int engine) in nva3_copy_context_del()
Dnv50_graph.c54 static struct nouveau_channel *
73 struct nouveau_channel *chan = dev_priv->channels.ptr[i]; in nv50_graph_channel()
225 nv50_graph_context_new(struct nouveau_channel *chan, int engine) in nv50_graph_context_new()
266 nv50_graph_context_del(struct nouveau_channel *chan, int engine) in nv50_graph_context_del()
302 nv50_graph_object_new(struct nouveau_channel *chan, int engine, in nv50_graph_object_new()
343 nv50_graph_nvsw_dma_vblsem(struct nouveau_channel *chan, in nv50_graph_nvsw_dma_vblsem()
361 nv50_graph_nvsw_vblsem_offset(struct nouveau_channel *chan, in nv50_graph_nvsw_vblsem_offset()
372 nv50_graph_nvsw_vblsem_release_val(struct nouveau_channel *chan, in nv50_graph_nvsw_vblsem_release_val()
380 nv50_graph_nvsw_vblsem_release(struct nouveau_channel *chan, in nv50_graph_nvsw_vblsem_release()
398 nv50_graph_nvsw_mthd_page_flip(struct nouveau_channel *chan, in nv50_graph_nvsw_mthd_page_flip()
[all …]
Dnv04_fbcon.c37 struct nouveau_channel *chan = dev_priv->channel; in nv04_fbcon_copyarea()
58 struct nouveau_channel *chan = dev_priv->channel; in nv04_fbcon_fillrect()
86 struct nouveau_channel *chan = dev_priv->channel; in nv04_fbcon_imageblit()
146 struct nouveau_channel *chan = dev_priv->channel; in nv04_fbcon_accel_init()
Dnv50_fbcon.c38 struct nouveau_channel *chan = dev_priv->channel; in nv50_fbcon_fillrect()
74 struct nouveau_channel *chan = dev_priv->channel; in nv50_fbcon_copyarea()
103 struct nouveau_channel *chan = dev_priv->channel; in nv50_fbcon_imageblit()
161 struct nouveau_channel *chan = dev_priv->channel; in nv50_fbcon_accel_init()
Dnvc0_fbcon.c38 struct nouveau_channel *chan = dev_priv->channel; in nvc0_fbcon_fillrect()
74 struct nouveau_channel *chan = dev_priv->channel; in nvc0_fbcon_copyarea()
103 struct nouveau_channel *chan = dev_priv->channel; in nvc0_fbcon_imageblit()
161 struct nouveau_channel *chan = dev_priv->channel; in nvc0_fbcon_accel_init()
Dnouveau_debugfs.c42 struct nouveau_channel *chan = node->info_ent->data; in nouveau_debugfs_channel_info()
76 nouveau_debugfs_channel_init(struct nouveau_channel *chan) in nouveau_debugfs_channel_init()
104 nouveau_debugfs_channel_fini(struct nouveau_channel *chan) in nouveau_debugfs_channel_fini()
Dnvc0_fifo.c101 nvc0_fifo_create_context(struct nouveau_channel *chan) in nvc0_fifo_create_context()
172 nvc0_fifo_destroy_context(struct nouveau_channel *chan) in nvc0_fifo_destroy_context()
202 nvc0_fifo_load_context(struct nouveau_channel *chan) in nvc0_fifo_load_context()
294 struct nouveau_channel *chan; in nvc0_fifo_init()
443 struct nouveau_channel *chan = NULL; in nvc0_fifo_page_flip()
Dnv50_cursor.c41 struct nouveau_channel *evo = nv50_display(dev)->master; in nv50_cursor_show()
76 struct nouveau_channel *evo = nv50_display(dev)->master; in nv50_cursor_hide()

12