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
38fd546b
Commit
38fd546b
authored
Jun 16, 2020
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/pmu/gm200-: explicitly handle nofw
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
46fc98bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
4 deletions
+15
-4
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm200.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm200.c
+9
-1
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h
+1
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm200.c
View file @
38fd546b
...
...
@@ -30,9 +30,17 @@ gm200_pmu = {
.
reset
=
gf100_pmu_reset
,
};
int
gm200_pmu_nofw
(
struct
nvkm_pmu
*
pmu
,
int
ver
,
const
struct
nvkm_pmu_fwif
*
fwif
)
{
nvkm_warn
(
&
pmu
->
subdev
,
"firmware unavailable
\n
"
);
return
0
;
}
static
const
struct
nvkm_pmu_fwif
gm200_pmu_fwif
[]
=
{
{
-
1
,
g
f1
00_pmu_nofw
,
&
gm200_pmu
},
{
-
1
,
g
m2
00_pmu_nofw
,
&
gm200_pmu
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
View file @
38fd546b
...
...
@@ -234,7 +234,8 @@ gm20b_pmu_load(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif)
static
const
struct
nvkm_pmu_fwif
gm20b_pmu_fwif
[]
=
{
{
0
,
gm20b_pmu_load
,
&
gm20b_pmu
,
&
gm20b_pmu_acr
},
{
0
,
gm20b_pmu_load
,
&
gm20b_pmu
,
&
gm20b_pmu_acr
},
{
-
1
,
gm200_pmu_nofw
,
&
gm20b_pmu
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c
View file @
38fd546b
...
...
@@ -46,7 +46,7 @@ gp102_pmu = {
static
const
struct
nvkm_pmu_fwif
gp102_pmu_fwif
[]
=
{
{
-
1
,
g
f1
00_pmu_nofw
,
&
gp102_pmu
},
{
-
1
,
g
m2
00_pmu_nofw
,
&
gp102_pmu
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c
View file @
38fd546b
...
...
@@ -93,7 +93,8 @@ MODULE_FIRMWARE("nvidia/gp10b/pmu/sig.bin");
static
const
struct
nvkm_pmu_fwif
gp10b_pmu_fwif
[]
=
{
{
0
,
gm20b_pmu_load
,
&
gp10b_pmu
,
&
gp10b_pmu_acr
},
{
0
,
gm20b_pmu_load
,
&
gp10b_pmu
,
&
gp10b_pmu_acr
},
{
-
1
,
gm200_pmu_nofw
,
&
gp10b_pmu
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h
View file @
38fd546b
...
...
@@ -59,6 +59,7 @@ struct nvkm_pmu_fwif {
};
int
gf100_pmu_nofw
(
struct
nvkm_pmu
*
,
int
,
const
struct
nvkm_pmu_fwif
*
);
int
gm200_pmu_nofw
(
struct
nvkm_pmu
*
,
int
,
const
struct
nvkm_pmu_fwif
*
);
int
gm20b_pmu_load
(
struct
nvkm_pmu
*
,
int
,
const
struct
nvkm_pmu_fwif
*
);
int
nvkm_pmu_ctor
(
const
struct
nvkm_pmu_fwif
*
,
struct
nvkm_device
*
,
...
...
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