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
Kirill Smelkov
linux
Commits
989f5784
Commit
989f5784
authored
Feb 18, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios/devinit: rename INIT_DP_CONDITION to INIT_GENERIC_CONDITION
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
96aedd0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
+5
-5
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
View file @
989f5784
...
...
@@ -786,11 +786,11 @@ init_io_flag_condition(struct nvbios_init *init)
}
/**
* INIT_
DP
_CONDITION - opcode 0x3a
* INIT_
GENERIC
_CONDITION - opcode 0x3a
*
*/
static
void
init_
dp
_condition
(
struct
nvbios_init
*
init
)
init_
generic
_condition
(
struct
nvbios_init
*
init
)
{
struct
nvkm_bios
*
bios
=
init
->
bios
;
struct
nvbios_dpout
info
;
...
...
@@ -799,7 +799,7 @@ init_dp_condition(struct nvbios_init *init)
u8
ver
,
hdr
,
cnt
,
len
;
u16
data
;
trace
(
"
DP
_CONDITION
\t
0x%02x 0x%02x
\n
"
,
cond
,
unkn
);
trace
(
"
GENERIC
_CONDITION
\t
0x%02x 0x%02x
\n
"
,
cond
,
unkn
);
init
->
offset
+=
3
;
switch
(
cond
)
{
...
...
@@ -828,7 +828,7 @@ init_dp_condition(struct nvbios_init *init)
init_exec_set
(
init
,
false
);
break
;
default:
warn
(
"
unknown dp conditio
n 0x%02x
\n
"
,
cond
);
warn
(
"
INIT_GENERIC_CONDITON: unknow
n 0x%02x
\n
"
,
cond
);
break
;
}
}
...
...
@@ -2205,7 +2205,7 @@ static struct nvbios_init_opcode {
[
0x37
]
=
{
init_copy
},
[
0x38
]
=
{
init_not
},
[
0x39
]
=
{
init_io_flag_condition
},
[
0x3a
]
=
{
init_
dp
_condition
},
[
0x3a
]
=
{
init_
generic
_condition
},
[
0x3b
]
=
{
init_io_mask_or
},
[
0x3c
]
=
{
init_io_or
},
[
0x47
]
=
{
init_andn_reg
},
...
...
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