Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (20 sloc) 790 Bytes
#ifndef __PSCNV_ENGINE_H__
#define __PSCNV_ENGINE_H__
struct pscnv_chan;
struct pscnv_vspace;
struct pscnv_engine {
struct drm_device *dev;
int irq;
uint32_t *oclasses;
void (*takedown) (struct pscnv_engine *eng);
void (*irq_handler) (struct pscnv_engine *eng);
int (*tlb_flush) (struct pscnv_engine *eng, struct pscnv_vspace *vs);
int (*chan_alloc) (struct pscnv_engine *eng, struct pscnv_chan *ch);
void (*chan_free) (struct pscnv_engine *eng, struct pscnv_chan *ch);
int (*chan_obj_new) (struct pscnv_engine *eng, struct pscnv_chan *ch, uint32_t handle, uint32_t oclass, uint32_t flags);
void (*chan_kill) (struct pscnv_engine *eng, struct pscnv_chan *ch);
};
int nv50_graph_init(struct drm_device *dev);
#define PSCNV_ENGINE_GRAPH 1
#define PSCNV_ENGINES_NUM 16
#endif
Jump to Line
Something went wrong with that request. Please try again.