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
476901ff
Commit
476901ff
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/pm: switch to subdev printk macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
b835c09b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c
+9
-6
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c
View file @
476901ff
...
...
@@ -126,7 +126,8 @@ nvkm_perfsrc_find(struct nvkm_pm *pm, struct nvkm_perfsig *sig, int si)
static
int
nvkm_perfsrc_enable
(
struct
nvkm_pm
*
pm
,
struct
nvkm_perfctr
*
ctr
)
{
struct
nvkm_device
*
device
=
pm
->
engine
.
subdev
.
device
;
struct
nvkm_subdev
*
subdev
=
&
pm
->
engine
.
subdev
;
struct
nvkm_device
*
device
=
subdev
->
device
;
struct
nvkm_perfdom
*
dom
=
NULL
;
struct
nvkm_perfsig
*
sig
;
struct
nvkm_perfsrc
*
src
;
...
...
@@ -153,7 +154,8 @@ nvkm_perfsrc_enable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr)
/* enable the source */
nvkm_mask
(
device
,
src
->
addr
,
mask
,
value
);
nv_debug
(
pm
,
"enabled source 0x%08x 0x%08x 0x%08x
\n
"
,
nvkm_debug
(
subdev
,
"enabled source %08x %08x %08x
\n
"
,
src
->
addr
,
mask
,
value
);
}
}
...
...
@@ -163,7 +165,8 @@ nvkm_perfsrc_enable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr)
static
int
nvkm_perfsrc_disable
(
struct
nvkm_pm
*
pm
,
struct
nvkm_perfctr
*
ctr
)
{
struct
nvkm_device
*
device
=
pm
->
engine
.
subdev
.
device
;
struct
nvkm_subdev
*
subdev
=
&
pm
->
engine
.
subdev
;
struct
nvkm_device
*
device
=
subdev
->
device
;
struct
nvkm_perfdom
*
dom
=
NULL
;
struct
nvkm_perfsig
*
sig
;
struct
nvkm_perfsrc
*
src
;
...
...
@@ -189,7 +192,7 @@ nvkm_perfsrc_disable(struct nvkm_pm *pm, struct nvkm_perfctr *ctr)
/* disable the source */
nvkm_mask
(
device
,
src
->
addr
,
mask
,
0
);
nv
_debug
(
pm
,
"disabled source 0x%08x 0x
%08x
\n
"
,
nv
km_debug
(
subdev
,
"disabled source %08x
%08x
\n
"
,
src
->
addr
,
mask
);
}
}
...
...
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