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
798dda55
Commit
798dda55
authored
Sep 25, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/bios: add some more signatures as seen on my gtx660
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
dbbd6bcf
Changes
2
Hide 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 @
798dda55
...
@@ -38,6 +38,7 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
...
@@ -38,6 +38,7 @@ nvbios_imagen(struct nouveau_bios *bios, struct nvbios_image *image)
switch
((
data
=
nv_ro16
(
bios
,
image
->
base
+
0x00
)))
{
switch
((
data
=
nv_ro16
(
bios
,
image
->
base
+
0x00
)))
{
case
0xaa55
:
case
0xaa55
:
case
0xbb77
:
case
0x4e56
:
/* NV */
case
0x4e56
:
/* NV */
break
;
break
;
default:
default:
...
...
drivers/gpu/drm/nouveau/core/subdev/bios/pcir.c
View file @
798dda55
...
@@ -33,6 +33,7 @@ nvbios_pcirTe(struct nouveau_bios *bios, u32 base, u8 *ver, u16 *hdr)
...
@@ -33,6 +33,7 @@ nvbios_pcirTe(struct nouveau_bios *bios, u32 base, u8 *ver, u16 *hdr)
data
+=
base
;
data
+=
base
;
switch
(
nv_ro32
(
bios
,
data
+
0x00
))
{
switch
(
nv_ro32
(
bios
,
data
+
0x00
))
{
case
0x52494350
:
/* PCIR */
case
0x52494350
:
/* PCIR */
case
0x53494752
:
/* RGIS */
case
0x5344504e
:
/* NPDS */
case
0x5344504e
:
/* NPDS */
*
hdr
=
nv_ro16
(
bios
,
data
+
0x0a
);
*
hdr
=
nv_ro16
(
bios
,
data
+
0x0a
);
*
ver
=
nv_ro08
(
bios
,
data
+
0x0c
);
*
ver
=
nv_ro08
(
bios
,
data
+
0x0c
);
...
...
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