]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/gpu/drm/nouveau/core/engine/disp/nv50.h
drm/nv50/disp: create skeleton display/channel object classes
[mirror_ubuntu-artful-kernel.git] / drivers / gpu / drm / nouveau / core / engine / disp / nv50.h
CommitLineData
70cabe4a
BS
1#ifndef __NV50_DISP_H__
2#define __NV50_DISP_H__
3
4#include <core/parent.h>
5#include <engine/disp.h>
6
7struct nv50_disp_priv {
8 struct nouveau_disp base;
9 struct nouveau_oclass *sclass;
10 struct {
11 int nr;
12 } head;
13 struct {
14 int nr;
15 } dac;
16 struct {
17 int nr;
18 } sor;
19};
20
21struct nv50_disp_base {
22 struct nouveau_parent base;
23};
24
25struct nv50_disp_chan {
26 struct nouveau_object base;
27};
28
29extern struct nouveau_ofuncs nv50_disp_mast_ofuncs;
30extern struct nouveau_ofuncs nv50_disp_dmac_ofuncs;
31extern struct nouveau_ofuncs nv50_disp_pioc_ofuncs;
32extern struct nouveau_ofuncs nv50_disp_base_ofuncs;
33extern struct nouveau_oclass nv50_disp_cclass;
34void nv50_disp_intr(struct nouveau_subdev *);
35
36#endif