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
d21d5975
Commit
d21d5975
authored
Sep 26, 2010
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915: Report the deferred free list in debugfs
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
23bc5982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_debugfs.c
+7
-1
No files found.
drivers/gpu/drm/i915/i915_debugfs.c
View file @
d21d5975
...
@@ -45,7 +45,8 @@ enum {
...
@@ -45,7 +45,8 @@ enum {
BSD_LIST
,
BSD_LIST
,
FLUSHING_LIST
,
FLUSHING_LIST
,
INACTIVE_LIST
,
INACTIVE_LIST
,
PINNED_LIST
PINNED_LIST
,
DEFERRED_FREE_LIST
,
};
};
static
const
char
*
yesno
(
int
v
)
static
const
char
*
yesno
(
int
v
)
...
@@ -161,6 +162,10 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
...
@@ -161,6 +162,10 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
seq_printf
(
m
,
"Flushing:
\n
"
);
seq_printf
(
m
,
"Flushing:
\n
"
);
head
=
&
dev_priv
->
mm
.
flushing_list
;
head
=
&
dev_priv
->
mm
.
flushing_list
;
break
;
break
;
case
DEFERRED_FREE_LIST
:
seq_printf
(
m
,
"Deferred free:
\n
"
);
head
=
&
dev_priv
->
mm
.
deferred_free_list
;
break
;
default:
default:
mutex_unlock
(
&
dev
->
struct_mutex
);
mutex_unlock
(
&
dev
->
struct_mutex
);
return
-
EINVAL
;
return
-
EINVAL
;
...
@@ -991,6 +996,7 @@ static struct drm_info_list i915_debugfs_list[] = {
...
@@ -991,6 +996,7 @@ static struct drm_info_list i915_debugfs_list[] = {
{
"i915_gem_flushing"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
FLUSHING_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_inactive"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
INACTIVE_LIST
},
{
"i915_gem_pinned"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
PINNED_LIST
},
{
"i915_gem_pinned"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
PINNED_LIST
},
{
"i915_gem_deferred_free"
,
i915_gem_object_list_info
,
0
,
(
void
*
)
DEFERRED_FREE_LIST
},
{
"i915_gem_pageflip"
,
i915_gem_pageflip_info
,
0
},
{
"i915_gem_pageflip"
,
i915_gem_pageflip_info
,
0
},
{
"i915_gem_request"
,
i915_gem_request_info
,
0
},
{
"i915_gem_request"
,
i915_gem_request_info
,
0
},
{
"i915_gem_seqno"
,
i915_gem_seqno_info
,
0
},
{
"i915_gem_seqno"
,
i915_gem_seqno_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