Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
igt-gpu-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
drm
igt-gpu-tools
Commits
d9ec63b1
Commit
d9ec63b1
authored
Jan 07, 2011
by
Chris Wilson
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intel_gpu_top: Include BLT ring
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
5503ac9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
tools/intel_gpu_top.c
tools/intel_gpu_top.c
+9
-1
No files found.
tools/intel_gpu_top.c
View file @
d9ec63b1
...
...
@@ -391,6 +391,9 @@ int main(int argc, char **argv)
},
bsd6_ring
=
{
.
name
=
"bitstream"
,
.
mmio
=
0x12030
,
},
blt_ring
=
{
.
name
=
"blitter"
,
.
mmio
=
0x22030
,
};
int
i
;
...
...
@@ -408,8 +411,10 @@ int main(int argc, char **argv)
ring_init
(
&
render_ring
);
if
(
IS_GEN4
(
devid
)
||
IS_IRONLAKE
(
devid
))
ring_init
(
&
bsd_ring
);
if
(
IS_GEN6
(
devid
))
if
(
IS_GEN6
(
devid
))
{
ring_init
(
&
bsd6_ring
);
ring_init
(
&
blt_ring
);
}
for
(;;)
{
int
j
;
...
...
@@ -422,6 +427,7 @@ int main(int argc, char **argv)
ring_reset
(
&
render_ring
);
ring_reset
(
&
bsd_ring
);
ring_reset
(
&
bsd6_ring
);
ring_reset
(
&
blt_ring
);
for
(
i
=
0
;
i
<
SAMPLES_PER_SEC
;
i
++
)
{
if
(
IS_965
(
devid
))
{
...
...
@@ -436,6 +442,7 @@ int main(int argc, char **argv)
ring_sample
(
&
render_ring
);
ring_sample
(
&
bsd_ring
);
ring_sample
(
&
bsd6_ring
);
ring_sample
(
&
blt_ring
);
usleep
(
1000000
/
SAMPLES_PER_SEC
);
}
...
...
@@ -473,6 +480,7 @@ int main(int argc, char **argv)
ring_print
(
&
render_ring
);
ring_print
(
&
bsd_ring
);
ring_print
(
&
bsd6_ring
);
ring_print
(
&
blt_ring
);
printf
(
"
\n
%30s %s
\n
"
,
"task"
,
"percent busy"
);
for
(
i
=
0
;
i
<
max_lines
;
i
++
)
{
...
...
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