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
f750ecc9
Commit
f750ecc9
authored
Jan 17, 2014
by
Ilia Mirkin
Committed by
Ben Skeggs
Jan 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nv50/gr: update list of mp errors, make it a bitfield
Signed-off-by:
Ilia Mirkin
<
imirkin@alum.mit.edu
>
parent
e2dd003d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
drivers/gpu/drm/nouveau/core/engine/graph/nv50.c
drivers/gpu/drm/nouveau/core/engine/graph/nv50.c
+10
-8
No files found.
drivers/gpu/drm/nouveau/core/engine/graph/nv50.c
View file @
f750ecc9
...
@@ -304,12 +304,14 @@ nv84_graph_tlb_flush(struct nouveau_engine *engine)
...
@@ -304,12 +304,14 @@ nv84_graph_tlb_flush(struct nouveau_engine *engine)
return
timeout
?
-
EBUSY
:
0
;
return
timeout
?
-
EBUSY
:
0
;
}
}
static
const
struct
nouveau_enum
nv50_mp_exec_error_names
[]
=
{
static
const
struct
nouveau_bitfield
nv50_mp_exec_errors
[]
=
{
{
3
,
"STACK_UNDERFLOW"
,
NULL
},
{
0x01
,
"STACK_UNDERFLOW"
},
{
4
,
"QUADON_ACTIVE"
,
NULL
},
{
0x02
,
"STACK_MISMATCH"
},
{
8
,
"TIMEOUT"
,
NULL
},
{
0x04
,
"QUADON_ACTIVE"
},
{
0x10
,
"INVALID_OPCODE"
,
NULL
},
{
0x08
,
"TIMEOUT"
},
{
0x40
,
"BREAKPOINT"
,
NULL
},
{
0x10
,
"INVALID_OPCODE"
},
{
0x20
,
"PM_OVERFLOW"
},
{
0x40
,
"BREAKPOINT"
},
{}
{}
};
};
...
@@ -474,8 +476,8 @@ nv50_priv_mp_trap(struct nv50_graph_priv *priv, int tpid, int display)
...
@@ -474,8 +476,8 @@ nv50_priv_mp_trap(struct nv50_graph_priv *priv, int tpid, int display)
oplow
=
nv_rd32
(
priv
,
addr
+
0x70
);
oplow
=
nv_rd32
(
priv
,
addr
+
0x70
);
ophigh
=
nv_rd32
(
priv
,
addr
+
0x74
);
ophigh
=
nv_rd32
(
priv
,
addr
+
0x74
);
nv_error
(
priv
,
"TRAP_MP_EXEC - "
nv_error
(
priv
,
"TRAP_MP_EXEC - "
"TP %d MP %d:
"
,
tpid
,
i
);
"TP %d MP %d:"
,
tpid
,
i
);
nouveau_
enum_print
(
nv50_mp_exec_error_name
s
,
status
);
nouveau_
bitfield_print
(
nv50_mp_exec_error
s
,
status
);
pr_cont
(
" at %06x warp %d, opcode %08x %08x
\n
"
,
pr_cont
(
" at %06x warp %d, opcode %08x %08x
\n
"
,
pc
&
0xffffff
,
pc
>>
24
,
pc
&
0xffffff
,
pc
>>
24
,
oplow
,
ophigh
);
oplow
,
ophigh
);
...
...
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