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
82690bba
Commit
82690bba
authored
Sep 18, 2010
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915/debug: Dump BSD ring buffers to debugfs
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
9fd98141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_debugfs.c
+12
-6
No files found.
drivers/gpu/drm/i915/i915_debugfs.c
View file @
82690bba
...
...
@@ -40,9 +40,10 @@
#if defined(CONFIG_DEBUG_FS)
#define ACTIVE_LIST 1
#define FLUSHING_LIST 2
#define INACTIVE_LIST 3
#define RENDER_LIST 1
#define BSD_LIST 2
#define FLUSHING_LIST 3
#define INACTIVE_LIST 4
static
const
char
*
yesno
(
int
v
)
{
...
...
@@ -137,10 +138,14 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
return
ret
;
switch
(
list
)
{
case
ACTIVE
_LIST
:
seq_printf
(
m
,
"
Active
:
\n
"
);
case
RENDER
_LIST
:
seq_printf
(
m
,
"
Render
:
\n
"
);
head
=
&
dev_priv
->
render_ring
.
active_list
;
break
;
case
BSD_LIST
:
seq_printf
(
m
,
"BSD:
\n
"
);
head
=
&
dev_priv
->
bsd_ring
.
active_list
;
break
;
case
INACTIVE_LIST
:
seq_printf
(
m
,
"Inactive:
\n
"
);
head
=
&
dev_priv
->
mm
.
inactive_list
;
...
...
@@ -974,7 +979,8 @@ static int i915_wedged_create(struct dentry *root, struct drm_minor *minor)
static
struct
drm_info_list
i915_debugfs_list
[]
=
{
{
"i915_capabilities"
,
i915_capabilities
,
0
,
0
},
{
"i915_gem_active"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
ACTIVE_LIST
},
{
"i915_gem_render_active"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
RENDER_LIST
},
{
"i915_gem_bsd_active"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
BSD_LIST
},
{
"i915_gem_flushing"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
FLUSHING_LIST
},
{
"i915_gem_inactive"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
INACTIVE_LIST
},
{
"i915_gem_pageflip"
,
i915_gem_pageflip_info
,
0
},
...
...
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