nouveau: prototype PFIFO/PGRAPH engtab API

main
Ben Skeggs 2007-06-24 18:54:51 +10:00
parent 5c7c07fd49
commit 24b71c318a
1 changed files with 14 additions and 4 deletions

View File

@ -116,13 +116,23 @@ struct nouveau_engine_func {
} fb;
struct {
int (*init)(drm_device_t *dev);
void (*takedown)(drm_device_t *dev);
int (*init)(drm_device_t *);
void (*takedown)(drm_device_t *);
int (*create_context)(drm_device_t *, int channel);
void (*destroy_context)(drm_device_t *, int channel);
int (*load_context)(drm_device_t *, int channel);
int (*save_context)(drm_device_t *, int channel);
} graph;
struct {
int (*init)(drm_device_t *dev);
void (*takedown)(drm_device_t *dev);
int (*init)(drm_device_t *);
void (*takedown)(drm_device_t *);
int (*create_context)(drm_device_t *, int channel);
void (*destroy_context)(drm_device_t *, int channel);
int (*load_context)(drm_device_t *, int channel);
int (*save_context)(drm_device_t *, int channel);
} fifo;
};