From 5132f37700210740117f5163b5df7aa1c8469a55 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Thu, 8 Mar 2012 10:41:45 +1000 Subject: drm/nve0/fifo: initial implementation Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_drv.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h') 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); -- cgit v1.2.3