diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-03-08 10:41:45 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-24 16:31:39 +1000 |
commit | 5132f37700210740117f5163b5df7aa1c8469a55 (patch) | |
tree | 9fc54f2c9cb81282b5b2dac62fe335ce26c1f6f7 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | d0f3c7e41d30859a638083654002b9b6faf7f67b (diff) |
drm/nve0/fifo: initial implementation
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 92c9a8a648de..5c4e015692d8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -70,7 +70,7 @@ struct nouveau_mem; #define MAX_NUM_DCB_ENTRIES 16 -#define NOUVEAU_MAX_CHANNEL_NR 128 +#define NOUVEAU_MAX_CHANNEL_NR 4096 #define NOUVEAU_MAX_TILE_NR 15 struct nouveau_mem { @@ -1260,6 +1260,14 @@ extern void nvc0_fifo_destroy_context(struct nouveau_channel *); extern int nvc0_fifo_load_context(struct nouveau_channel *); extern int nvc0_fifo_unload_context(struct drm_device *); +/* nve0_fifo.c */ +extern int nve0_fifo_init(struct drm_device *); +extern void nve0_fifo_takedown(struct drm_device *); +extern int nve0_fifo_channel_id(struct drm_device *); +extern int nve0_fifo_create_context(struct nouveau_channel *); +extern void nve0_fifo_destroy_context(struct nouveau_channel *); +extern int nve0_fifo_unload_context(struct drm_device *); + /* nv04_graph.c */ extern int nv04_graph_create(struct drm_device *); extern int nv04_graph_object_new(struct nouveau_channel *, int, u32, u16); |