Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
dae20439
Commit
dae20439
authored
Aug 18, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios: add support for dcb 4.1
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
c9083577
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
drivers/gpu/drm/nouveau/core/subdev/bios/dcb.c
drivers/gpu/drm/nouveau/core/subdev/bios/dcb.c
+15
-12
No files found.
drivers/gpu/drm/nouveau/core/subdev/bios/dcb.c
View file @
dae20439
...
...
@@ -42,7 +42,7 @@ dcb_table(struct nouveau_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len)
*
ver
=
nv_ro08
(
bios
,
dcb
);
if
(
*
ver
>=
0x4
1
)
{
if
(
*
ver
>=
0x4
2
)
{
nv_warn
(
bios
,
"DCB version 0x%02x unknown
\n
"
,
*
ver
);
return
0x0000
;
}
else
...
...
@@ -157,18 +157,21 @@ dcb_outp_parse(struct nouveau_bios *bios, u8 idx, u8 *ver, u8 *len,
break
;
}
switch
(
conf
&
0x0f000000
)
{
case
0x0f000000
:
outp
->
dpconf
.
link_nr
=
(
conf
&
0x0f000000
)
>>
24
;
if
(
*
ver
<
0x41
)
{
switch
(
outp
->
dpconf
.
link_nr
)
{
case
0x0f
:
outp
->
dpconf
.
link_nr
=
4
;
break
;
case
0x03000000
:
case
0x03
:
outp
->
dpconf
.
link_nr
=
2
;
break
;
case
0x01000000
:
case
0x01
:
default:
outp
->
dpconf
.
link_nr
=
1
;
break
;
}
}
/* fall-through... */
case
DCB_OUTPUT_TMDS
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment