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
b9c246ad
Commit
b9c246ad
authored
Jun 16, 2020
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/gr/gm200-: explicitly handle nofw
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
38fd546b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
11 deletions
+29
-11
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+1
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c
+9
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp108.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp108.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c
+2
-1
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c
+2
-1
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
View file @
b9c246ad
...
...
@@ -2103,7 +2103,7 @@ gf100_gr_new_(const struct gf100_gr_fwif *fwif,
fwif
=
nvkm_firmware_load
(
&
gr
->
base
.
engine
.
subdev
,
fwif
,
"Gr"
,
gr
);
if
(
IS_ERR
(
fwif
))
return
-
ENODEV
;
return
PTR_ERR
(
fwif
)
;
gr
->
func
=
fwif
->
func
;
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
View file @
b9c246ad
...
...
@@ -404,6 +404,7 @@ int gf100_gr_nofw(struct gf100_gr *, int, const struct gf100_gr_fwif *);
int
gk20a_gr_load_sw
(
struct
gf100_gr
*
,
const
char
*
path
,
int
ver
);
int
gm200_gr_nofw
(
struct
gf100_gr
*
,
int
,
const
struct
gf100_gr_fwif
*
);
int
gm200_gr_load
(
struct
gf100_gr
*
,
int
,
const
struct
gf100_gr_fwif
*
);
extern
const
struct
nvkm_acr_lsf_func
gm200_gr_gpccs_acr
;
extern
const
struct
nvkm_acr_lsf_func
gm200_gr_fecs_acr
;
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c
View file @
b9c246ad
...
...
@@ -32,6 +32,13 @@
#include <nvif/class.h>
int
gm200_gr_nofw
(
struct
gf100_gr
*
gr
,
int
ver
,
const
struct
gf100_gr_fwif
*
fwif
)
{
nvkm_warn
(
&
gr
->
base
.
engine
.
subdev
,
"firmware unavailable
\n
"
);
return
-
ENODEV
;
}
/*******************************************************************************
* PGRAPH engine/subdev functions
******************************************************************************/
...
...
@@ -276,6 +283,7 @@ MODULE_FIRMWARE("nvidia/gm206/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gm200_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gm200_gr
,
&
gm200_gr_fecs_acr
,
&
gm200_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c
View file @
b9c246ad
...
...
@@ -176,6 +176,7 @@ MODULE_FIRMWARE("nvidia/gm20b/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gm20b_gr_fwif
[]
=
{
{
0
,
gm20b_gr_load
,
&
gm20b_gr
,
&
gm20b_gr_fecs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c
View file @
b9c246ad
...
...
@@ -151,6 +151,7 @@ MODULE_FIRMWARE("nvidia/gp100/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp100_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp100_gr
,
&
gm200_gr_fecs_acr
,
&
gm200_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c
View file @
b9c246ad
...
...
@@ -147,6 +147,7 @@ MODULE_FIRMWARE("nvidia/gp102/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp102_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp102_gr
,
&
gm200_gr_fecs_acr
,
&
gm200_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c
View file @
b9c246ad
...
...
@@ -88,6 +88,7 @@ MODULE_FIRMWARE("nvidia/gp106/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp104_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp104_gr
,
&
gm200_gr_fecs_acr
,
&
gm200_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c
View file @
b9c246ad
...
...
@@ -77,6 +77,7 @@ MODULE_FIRMWARE("nvidia/gp107/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp107_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp107_gr
,
&
gm200_gr_fecs_acr
,
&
gm200_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp108.c
View file @
b9c246ad
...
...
@@ -87,6 +87,7 @@ MODULE_FIRMWARE("nvidia/gp108/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp108_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp107_gr
,
&
gp108_gr_fecs_acr
,
&
gp108_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c
View file @
b9c246ad
...
...
@@ -89,6 +89,7 @@ MODULE_FIRMWARE("nvidia/gp10b/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gp10b_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gp10b_gr
,
&
gm20b_gr_fecs_acr
,
&
gp10b_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c
View file @
b9c246ad
...
...
@@ -136,6 +136,7 @@ MODULE_FIRMWARE("nvidia/gv100/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
gv100_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
gv100_gr
,
&
gp108_gr_fecs_acr
,
&
gp108_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c
View file @
b9c246ad
...
...
@@ -193,6 +193,7 @@ MODULE_FIRMWARE("nvidia/tu116/gr/sw_method_init.bin");
static
const
struct
gf100_gr_fwif
tu102_gr_fwif
[]
=
{
{
0
,
gm200_gr_load
,
&
tu102_gr
,
&
gp108_gr_fecs_acr
,
&
gp108_gr_gpccs_acr
},
{
-
1
,
gm200_gr_nofw
},
{}
};
...
...
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