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
2f524aa0
Commit
2f524aa0
authored
Nov 09, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/pmu: execute reset before running devinit
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
da7d2062
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
+8
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
View file @
2f524aa0
...
@@ -96,6 +96,13 @@ nvkm_pmu_reset(struct nvkm_pmu *pmu)
...
@@ -96,6 +96,13 @@ nvkm_pmu_reset(struct nvkm_pmu *pmu)
return
0
;
return
0
;
}
}
static
int
nvkm_pmu_preinit
(
struct
nvkm_subdev
*
subdev
)
{
struct
nvkm_pmu
*
pmu
=
nvkm_pmu
(
subdev
);
return
nvkm_pmu_reset
(
pmu
);
}
static
int
static
int
nvkm_pmu_init
(
struct
nvkm_subdev
*
subdev
)
nvkm_pmu_init
(
struct
nvkm_subdev
*
subdev
)
{
{
...
@@ -115,6 +122,7 @@ nvkm_pmu_dtor(struct nvkm_subdev *subdev)
...
@@ -115,6 +122,7 @@ nvkm_pmu_dtor(struct nvkm_subdev *subdev)
static
const
struct
nvkm_subdev_func
static
const
struct
nvkm_subdev_func
nvkm_pmu
=
{
nvkm_pmu
=
{
.
dtor
=
nvkm_pmu_dtor
,
.
dtor
=
nvkm_pmu_dtor
,
.
preinit
=
nvkm_pmu_preinit
,
.
init
=
nvkm_pmu_init
,
.
init
=
nvkm_pmu_init
,
.
fini
=
nvkm_pmu_fini
,
.
fini
=
nvkm_pmu_fini
,
.
intr
=
nvkm_pmu_intr
,
.
intr
=
nvkm_pmu_intr
,
...
...
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