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
c47a48a5
Commit
c47a48a5
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/mc: switch to subdev printk macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
59e1a2f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
+4
-3
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c
View file @
c47a48a5
...
...
@@ -47,7 +47,8 @@ static irqreturn_t
nvkm_mc_intr
(
int
irq
,
void
*
arg
)
{
struct
nvkm_mc
*
mc
=
arg
;
struct
nvkm_device
*
device
=
mc
->
subdev
.
device
;
struct
nvkm_subdev
*
subdev
=
&
mc
->
subdev
;
struct
nvkm_device
*
device
=
subdev
->
device
;
const
struct
nvkm_mc_oclass
*
oclass
=
(
void
*
)
nv_object
(
mc
)
->
oclass
;
const
struct
nvkm_mc_intr
*
map
=
oclass
->
intr
;
struct
nvkm_subdev
*
unit
;
...
...
@@ -72,7 +73,7 @@ nvkm_mc_intr(int irq, void *arg)
}
if
(
stat
)
nv
_error
(
mc
,
"unknown intr 0x
%08x
\n
"
,
stat
);
nv
km_error
(
subdev
,
"unknown intr
%08x
\n
"
,
stat
);
}
nvkm_wr32
(
device
,
0x000140
,
0x00000001
);
...
...
@@ -151,7 +152,7 @@ nvkm_mc_create_(struct nvkm_object *parent, struct nvkm_object *engine,
if
(
mc
->
use_msi
&&
oclass
->
msi_rearm
)
{
mc
->
use_msi
=
pci_enable_msi
(
device
->
pdev
)
==
0
;
if
(
mc
->
use_msi
)
{
nv
_info
(
mc
,
"MSI interrupts
enabled
\n
"
);
nv
km_debug
(
&
mc
->
subdev
,
"MSI
enabled
\n
"
);
oclass
->
msi_rearm
(
mc
);
}
}
else
{
...
...
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