-
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/nouveau/bios: implement "full" BIT 'd' table (and subtable) parsi…
…ng in core Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
- Loading branch information
Ben Skeggs
committed
Nov 28, 2012
1 parent
14464b8
commit 65c7866
Showing
4 changed files
with
192 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,34 @@ | ||
#ifndef __NVBIOS_DP_H__ | ||
#define __NVBIOS_DP_H__ | ||
|
||
u16 dp_table(struct nouveau_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); | ||
u16 dp_outp(struct nouveau_bios *, u8 idx, u8 *ver, u8 *len); | ||
u16 dp_outp_match(struct nouveau_bios *, struct dcb_output *, u8 *ver, u8 *len); | ||
struct nvbios_dpout { | ||
u16 type; | ||
u16 mask; | ||
u8 flags; | ||
u32 script[5]; | ||
u32 lnkcmp; | ||
}; | ||
|
||
u16 nvbios_dpout_parse(struct nouveau_bios *, u8 idx, | ||
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, | ||
struct nvbios_dpout *); | ||
u16 nvbios_dpout_match(struct nouveau_bios *, u16 type, u16 mask, | ||
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, | ||
struct nvbios_dpout *); | ||
|
||
struct nvbios_dpcfg { | ||
u8 drv; | ||
u8 pre; | ||
u8 unk; | ||
}; | ||
|
||
u16 | ||
nvbios_dpcfg_parse(struct nouveau_bios *, u16 outp, u8 idx, | ||
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, | ||
struct nvbios_dpcfg *); | ||
u16 | ||
nvbios_dpcfg_match(struct nouveau_bios *, u16 outp, u8 un, u8 vs, u8 pe, | ||
u8 *ver, u8 *hdr, u8 *cnt, u8 *len, | ||
struct nvbios_dpcfg *); | ||
|
||
#endif |
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