mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-30 19:00:14 +01:00
nouveau: prototype PFIFO/PGRAPH engtab API
This commit is contained in:
parent
5c7c07fd49
commit
24b71c318a
1 changed files with 14 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue