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
a8f6cb7b
Commit
a8f6cb7b
authored
Dec 06, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/mxm: warn more loudly on unsupported DCB version
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
f6bf1739
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
+1
-1
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c
View file @
a8f6cb7b
...
@@ -191,7 +191,7 @@ mxm_dcb_sanitise(struct nvkm_mxm *mxm)
...
@@ -191,7 +191,7 @@ mxm_dcb_sanitise(struct nvkm_mxm *mxm)
u8
ver
,
hdr
,
cnt
,
len
;
u8
ver
,
hdr
,
cnt
,
len
;
u16
dcb
=
dcb_table
(
bios
,
&
ver
,
&
hdr
,
&
cnt
,
&
len
);
u16
dcb
=
dcb_table
(
bios
,
&
ver
,
&
hdr
,
&
cnt
,
&
len
);
if
(
dcb
==
0x0000
||
(
ver
!=
0x40
&&
ver
!=
0x41
))
{
if
(
dcb
==
0x0000
||
(
ver
!=
0x40
&&
ver
!=
0x41
))
{
nvkm_
debug
(
subdev
,
"unsupported DCB version
\n
"
);
nvkm_
warn
(
subdev
,
"unsupported DCB version
\n
"
);
return
;
return
;
}
}
...
...
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