diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-03-31 23:56:05 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:48:45 -0400 |
commit | a82dd49f14742e2529f79feb6360e0993277e788 (patch) | |
tree | 96f6f7ee4a792850ccf13c9a75e57f2a5ec920cb /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 92abe7499239f7b570194b34c50e3772783e2640 (diff) |
drm/nouveau: remove remnants of nouveau_pgraph_engine
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 | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 413e2ba5e4d8..3f90f3891f59 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -241,10 +241,7 @@ struct nouveau_channel { | |||
241 | struct nouveau_gpuobj *cache; | 241 | struct nouveau_gpuobj *cache; |
242 | void *fifo_priv; | 242 | void *fifo_priv; |
243 | 243 | ||
244 | /* PGRAPH context */ | 244 | /* Execution engine contexts */ |
245 | /* XXX may be merge 2 pointers as private data ??? */ | ||
246 | struct nouveau_gpuobj *ramin_grctx; | ||
247 | void *pgraph_ctx; | ||
248 | void *engctx[NVOBJ_ENGINE_NR]; | 245 | void *engctx[NVOBJ_ENGINE_NR]; |
249 | 246 | ||
250 | /* NV50 VM */ | 247 | /* NV50 VM */ |
@@ -372,30 +369,6 @@ struct nouveau_fifo_engine { | |||
372 | void (*tlb_flush)(struct drm_device *dev); | 369 | void (*tlb_flush)(struct drm_device *dev); |
373 | }; | 370 | }; |
374 | 371 | ||
375 | struct nouveau_pgraph_engine { | ||
376 | bool accel_blocked; | ||
377 | bool registered; | ||
378 | int grctx_size; | ||
379 | void *priv; | ||
380 | |||
381 | /* NV2x/NV3x context table (0x400780) */ | ||
382 | struct nouveau_gpuobj *ctx_table; | ||
383 | |||
384 | int (*init)(struct drm_device *); | ||
385 | void (*takedown)(struct drm_device *); | ||
386 | |||
387 | void (*fifo_access)(struct drm_device *, bool); | ||
388 | |||
389 | struct nouveau_channel *(*channel)(struct drm_device *); | ||
390 | int (*create_context)(struct nouveau_channel *); | ||
391 | void (*destroy_context)(struct nouveau_channel *); | ||
392 | int (*load_context)(struct nouveau_channel *); | ||
393 | int (*unload_context)(struct drm_device *); | ||
394 | int (*object_new)(struct nouveau_channel *chan, u32 handle, u16 class); | ||
395 | void (*tlb_flush)(struct drm_device *dev); | ||
396 | |||
397 | }; | ||
398 | |||
399 | struct nouveau_display_engine { | 372 | struct nouveau_display_engine { |
400 | void *priv; | 373 | void *priv; |
401 | int (*early_init)(struct drm_device *); | 374 | int (*early_init)(struct drm_device *); |
@@ -522,7 +495,6 @@ struct nouveau_engine { | |||
522 | struct nouveau_mc_engine mc; | 495 | struct nouveau_mc_engine mc; |
523 | struct nouveau_timer_engine timer; | 496 | struct nouveau_timer_engine timer; |
524 | struct nouveau_fb_engine fb; | 497 | struct nouveau_fb_engine fb; |
525 | struct nouveau_pgraph_engine graph; | ||
526 | struct nouveau_fifo_engine fifo; | 498 | struct nouveau_fifo_engine fifo; |
527 | struct nouveau_display_engine display; | 499 | struct nouveau_display_engine display; |
528 | struct nouveau_gpio_engine gpio; | 500 | struct nouveau_gpio_engine gpio; |
@@ -1168,8 +1140,6 @@ extern struct nouveau_enum nv50_data_error_names[]; | |||
1168 | 1140 | ||
1169 | /* nvc0_graph.c */ | 1141 | /* nvc0_graph.c */ |
1170 | extern int nvc0_graph_create(struct drm_device *); | 1142 | extern int nvc0_graph_create(struct drm_device *); |
1171 | extern void nvc0_graph_fifo_access(struct drm_device *, bool); | ||
1172 | extern struct nouveau_channel *nvc0_graph_channel(struct drm_device *); | ||
1173 | 1143 | ||
1174 | /* nv84_crypt.c */ | 1144 | /* nv84_crypt.c */ |
1175 | extern int nv84_crypt_create(struct drm_device *); | 1145 | extern int nv84_crypt_create(struct drm_device *); |