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
a1a86aab
Commit
a1a86aab
authored
Sep 22, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios: recognise nv-specific rom/pcir signatures
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
7205875d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
drivers/gpu/drm/nouveau/core/subdev/bios/image.c
drivers/gpu/drm/nouveau/core/subdev/bios/image.c
+1
-0
drivers/gpu/drm/nouveau/core/subdev/bios/pcir.c
drivers/gpu/drm/nouveau/core/subdev/bios/pcir.c
+1
-0
No files found.
drivers/gpu/drm/nouveau/core/subdev/bios/image.c
View file @
a1a86aab
...
...
@@ -38,6 +38,7 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
switch
((
data
=
nv_ro16
(
bios
,
image
->
base
+
0x00
)))
{
case
0xaa55
:
case
0x4e56
:
/* NV */
break
;
default:
nv_debug
(
bios
,
"%08x: ROM signature (%04x) unknown
\n
"
,
...
...
drivers/gpu/drm/nouveau/core/subdev/bios/pcir.c
View file @
a1a86aab
...
...
@@ -33,6 +33,7 @@ nvbios_pcirTe(struct nouveau_bios *bios, u32 base, u8 *ver, u16 *hdr)
data
+=
base
;
switch
(
nv_ro32
(
bios
,
data
+
0x00
))
{
case
0x52494350
:
/* PCIR */
case
0x5344504e
:
/* NPDS */
*
hdr
=
nv_ro16
(
bios
,
data
+
0x0a
);
*
ver
=
nv_ro08
(
bios
,
data
+
0x0c
);
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