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
81f2bb5d
Commit
81f2bb5d
authored
Feb 12, 2019
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios/init: label existing INIT_GENERIC_CONDITION types
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
c774ce66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
+4
-4
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
View file @
81f2bb5d
...
...
@@ -806,12 +806,12 @@ init_generic_condition(struct nvbios_init *init)
init
->
offset
+=
3
;
switch
(
cond
)
{
case
0
:
case
0
:
/* CONDITION_ID_INT_DP. */
if
(
init_conn
(
init
)
!=
DCB_CONNECTOR_eDP
)
init_exec_set
(
init
,
false
);
break
;
case
1
:
case
2
:
case
1
:
/* CONDITION_ID_USE_SPPLL0. */
case
2
:
/* CONDITION_ID_USE_SPPLL1. */
if
(
init
->
outp
&&
(
data
=
nvbios_dpout_match
(
bios
,
DCB_OUTPUT_DP
,
(
init
->
outp
->
or
<<
0
)
|
...
...
@@ -826,7 +826,7 @@ init_generic_condition(struct nvbios_init *init)
if
(
init_exec
(
init
))
warn
(
"script needs dp output table data
\n
"
);
break
;
case
5
:
case
5
:
/* CONDITION_ID_ASSR_SUPPORT. */
if
(
!
(
init_rdauxr
(
init
,
0x0d
)
&
1
))
init_exec_set
(
init
,
false
);
break
;
...
...
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