Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358301
b: refs/heads/master
c: f3ed104
h: refs/heads/master
i:
  358299: ab4cd14
v: v3
  • Loading branch information
Ben Skeggs committed Feb 20, 2013
1 parent 6052a26 commit 9518ba2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ed502096f698b978c12a435f04be5afb195b485
refs/heads/master: f3ed1048715f2edc10c4dda6148b60e93f6282ed
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ struct dcb_output {
uint8_t or;
uint8_t link;
bool duallink_possible;
uint8_t extdev;
union {
struct sor_conf {
int link;
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/bios/dcb.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ dcb_outp_parse(struct nouveau_bios *bios, u8 idx, u8 *ver, u8 *len,
case DCB_OUTPUT_DP:
outp->link = (conf & 0x00000030) >> 4;
outp->sorconf.link = outp->link; /*XXX*/
outp->extdev = 0x00;
if (outp->location != 0)
outp->extdev = (conf & 0x0000ff00) >> 8;
break;
default:
break;
Expand All @@ -147,7 +150,7 @@ dcb_outp_parse(struct nouveau_bios *bios, u8 idx, u8 *ver, u8 *len,
static inline u16
dcb_outp_hasht(struct dcb_output *outp)
{
return outp->type;
return (outp->location << 4) | outp->type;
}

static inline u16
Expand Down

0 comments on commit 9518ba2

Please sign in to comment.