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
cf091292
Commit
cf091292
authored
Dec 21, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios: parse 8.1 Gbps DP link rate
From DCB 4.1 spec. Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
7d2813c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
+7
-4
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
View file @
cf091292
...
@@ -143,16 +143,19 @@ dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len,
...
@@ -143,16 +143,19 @@ dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len,
switch
(
outp
->
type
)
{
switch
(
outp
->
type
)
{
case
DCB_OUTPUT_DP
:
case
DCB_OUTPUT_DP
:
switch
(
conf
&
0x00e00000
)
{
switch
(
conf
&
0x00e00000
)
{
case
0x00000000
:
case
0x00000000
:
/* 1.62 */
outp
->
dpconf
.
link_bw
=
0x06
;
outp
->
dpconf
.
link_bw
=
0x06
;
break
;
break
;
case
0x00200000
:
case
0x00200000
:
/* 2.7 */
outp
->
dpconf
.
link_bw
=
0x0a
;
outp
->
dpconf
.
link_bw
=
0x0a
;
break
;
break
;
case
0x00400000
:
case
0x00400000
:
/* 5.4 */
default:
outp
->
dpconf
.
link_bw
=
0x14
;
outp
->
dpconf
.
link_bw
=
0x14
;
break
;
break
;
case
0x00600000
:
/* 8.1 */
default:
outp
->
dpconf
.
link_bw
=
0x1e
;
break
;
}
}
switch
((
conf
&
0x0f000000
)
>>
24
)
{
switch
((
conf
&
0x0f000000
)
>>
24
)
{
...
...
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