1 #ifndef __NOUVEAU_CHAN_H__
2 #define __NOUVEAU_CHAN_H__
6 struct nouveau_channel
{
7 struct nouveau_cli
*cli
;
8 struct nouveau_drm
*drm
;
15 struct nouveau_bo
*buffer
;
16 struct nouveau_vma vma
;
20 /* TODO: this will be reworked in the near future */
37 struct nouveau_object
*object
;
41 int nouveau_channel_new(struct nouveau_drm
*, struct nouveau_cli
*,
42 u32 parent
, u32 handle
, u32 arg0
, u32 arg1
,
43 struct nouveau_channel
**);
44 void nouveau_channel_del(struct nouveau_channel
**);
45 int nouveau_channel_idle(struct nouveau_channel
*);