diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 07:54:19 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 05:40:40 +0300 |
commit | 2a7909c0ade08c66690e6115ae49765dc47873e6 (patch) | |
tree | 83be819a00404cb6db70257cc2f3869907272140 /drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h | |
parent | 0710cc31482ae3711367c42e61580126c50c8ec0 (diff) | |
download | linux-2a7909c0ade08c66690e6115ae49765dc47873e6.tar.xz |
drm/nouveau/disp: split user classes out from engine implementations
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h new file mode 100644 index 000000000000..cfd09d275b13 --- /dev/null +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/dmacnv50.h @@ -0,0 +1,24 @@ +#ifndef __NV50_DISP_DMAC_H__ +#define __NV50_DISP_DMAC_H__ +#include "channv50.h" + +struct nv50_disp_dmac { + struct nv50_disp_chan base; + u32 push; +}; + +void nv50_disp_dmac_dtor(struct nvkm_object *); +int nv50_disp_dmac_object_attach(struct nvkm_object *, + struct nvkm_object *, u32); +void nv50_disp_dmac_object_detach(struct nvkm_object *, int); +int nv50_disp_dmac_create_(struct nvkm_object *, struct nvkm_object *, + struct nvkm_oclass *, u64, int, int, void **); +int nv50_disp_dmac_init(struct nvkm_object *); +int nv50_disp_dmac_fini(struct nvkm_object *, bool); + +int gf119_disp_dmac_object_attach(struct nvkm_object *, + struct nvkm_object *, u32); +void gf119_disp_dmac_object_detach(struct nvkm_object *, int); +int gf119_disp_dmac_init(struct nvkm_object *); +int gf119_disp_dmac_fini(struct nvkm_object *, bool); +#endif |