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
eae5e7f3
Commit
eae5e7f3
authored
Dec 30, 2010
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nvc0: parse a couple more PGRAPH_INTR
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
93d0cd7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
drivers/gpu/drm/nouveau/nvc0_graph.c
drivers/gpu/drm/nouveau/nvc0_graph.c
+16
-0
No files found.
drivers/gpu/drm/nouveau/nvc0_graph.c
View file @
eae5e7f3
...
...
@@ -740,6 +740,14 @@ nvc0_graph_isr(struct drm_device *dev)
stat
&=
~
0x00000010
;
}
if
(
stat
&
0x00000020
)
{
NV_INFO
(
dev
,
"PGRAPH: ILLEGAL_CLASS ch %d [0x%010llx] subc %d "
"class 0x%04x mthd 0x%04x data 0x%08x
\n
"
,
chid
,
inst
,
subc
,
class
,
mthd
,
data
);
nv_wr32
(
dev
,
0x400100
,
0x00000020
);
stat
&=
~
0x00000020
;
}
if
(
stat
&
0x00100000
)
{
NV_INFO
(
dev
,
"PGRAPH: DATA_ERROR ["
);
nouveau_enum_print
(
nvc0_graph_data_error
,
code
);
...
...
@@ -750,6 +758,14 @@ nvc0_graph_isr(struct drm_device *dev)
stat
&=
~
0x00100000
;
}
if
(
stat
&
0x00200000
)
{
u32
trap
=
nv_rd32
(
dev
,
0x400108
);
NV_INFO
(
dev
,
"PGRAPH: TRAP ch %d status 0x%08x
\n
"
,
chid
,
trap
);
nv_wr32
(
dev
,
0x400108
,
trap
);
nv_wr32
(
dev
,
0x400100
,
0x00200000
);
stat
&=
~
0x00200000
;
}
if
(
stat
&
0x00080000
)
{
u32
ustat
=
nv_rd32
(
dev
,
0x409c18
);
...
...
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