-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/nv50/disp: create skeleton display/channel object classes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
- Loading branch information
Ben Skeggs
committed
Nov 28, 2012
1 parent
47a1e0f
commit 70cabe4
Showing
10 changed files
with
699 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#ifndef __NV50_DISP_H__ | ||
#define __NV50_DISP_H__ | ||
|
||
#include <core/parent.h> | ||
#include <engine/disp.h> | ||
|
||
struct nv50_disp_priv { | ||
struct nouveau_disp base; | ||
struct nouveau_oclass *sclass; | ||
struct { | ||
int nr; | ||
} head; | ||
struct { | ||
int nr; | ||
} dac; | ||
struct { | ||
int nr; | ||
} sor; | ||
}; | ||
|
||
struct nv50_disp_base { | ||
struct nouveau_parent base; | ||
}; | ||
|
||
struct nv50_disp_chan { | ||
struct nouveau_object base; | ||
}; | ||
|
||
extern struct nouveau_ofuncs nv50_disp_mast_ofuncs; | ||
extern struct nouveau_ofuncs nv50_disp_dmac_ofuncs; | ||
extern struct nouveau_ofuncs nv50_disp_pioc_ofuncs; | ||
extern struct nouveau_ofuncs nv50_disp_base_ofuncs; | ||
extern struct nouveau_oclass nv50_disp_cclass; | ||
void nv50_disp_intr(struct nouveau_subdev *); | ||
|
||
#endif |
Oops, something went wrong.