Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 189723 Details for
Bug 267782
new package: x11-apps/intel-gpu-tools-1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this version fixes all warnings
intel-gpu-tools-1.0-compile-warnings.patch (text/plain), 2.17 KB, created by
Alexander Huemer
on 2009-04-28 17:07:42 UTC
(
hide
)
Description:
this version fixes all warnings
Filename:
MIME Type:
Creator:
Alexander Huemer
Created:
2009-04-28 17:07:42 UTC
Size:
2.17 KB
patch
obsolete
>diff -Nur intel-gpu-tools-1.0-orig/lib/intel_batchbuffer.c intel-gpu-tools-1.0/lib/intel_batchbuffer.c >--- intel-gpu-tools-1.0-orig/lib/intel_batchbuffer.c 2009-04-28 13:14:31.157071734 +0200 >+++ intel-gpu-tools-1.0/lib/intel_batchbuffer.c 2009-04-28 13:14:50.654938037 +0200 >@@ -117,7 +117,7 @@ > int ret; > > if (batch->ptr - batch->map > batch->bo->size) >- printf("bad relocation ptr %p map %p offset %d size %ld\n", >+ printf("bad relocation ptr %p map %p offset %ld size %ld\n", > batch->ptr, batch->map, batch->ptr - batch->map, > batch->bo->size); > >diff -Nur intel-gpu-tools-1.0-orig/tools/intel_gpu_dump.c intel-gpu-tools-1.0/tools/intel_gpu_dump.c >--- intel-gpu-tools-1.0-orig/tools/intel_gpu_dump.c 2009-04-28 13:14:31.129071081 +0200 >+++ intel-gpu-tools-1.0/tools/intel_gpu_dump.c 2009-04-28 18:15:52.870347736 +0200 >@@ -1972,8 +1972,9 @@ > if (S_ISDIR(st.st_mode)) { > char *filename; > uint32_t ring_head, ring_tail, acthd; >+ int i; > >- asprintf(&filename, "%s/i915_ringbuffer_info", path); >+ i = asprintf(&filename, "%s/i915_ringbuffer_info", path); > > err = stat(filename, &st); > if (err != 0) { >@@ -1990,13 +1991,13 @@ > parse_ringbuffer_info(filename, &ring_head, &ring_tail, &acthd); > free (filename); > >- asprintf (&filename, "%s/i915_batchbuffers", path); >+ i = asprintf (&filename, "%s/i915_batchbuffers", path); > head_offset = acthd; > tail_offset = 0xffffffff; > read_data_file (filename, 1); > free (filename); > >- asprintf (&filename, "%s/i915_ringbuffer_data", path); >+ i = asprintf (&filename, "%s/i915_ringbuffer_data", path); > head_offset = ring_head; > tail_offset = ring_tail; > printf("Ringbuffer: "); >diff -Nur intel-gpu-tools-1.0-orig/tools/intel_gpu_top.c intel-gpu-tools-1.0/tools/intel_gpu_top.c >--- intel-gpu-tools-1.0-orig/tools/intel_gpu_top.c 2009-04-28 13:14:31.129071081 +0200 >+++ intel-gpu-tools-1.0/tools/intel_gpu_top.c 2009-04-28 13:36:42.378481160 +0200 >@@ -185,7 +185,7 @@ > qsort(top_bits_sorted, num_top_bits, sizeof(struct top_bit *), > top_bits_sort); > >- printf(clear_screen); >+ printf("%s",clear_screen); > printf("ring idle: %3d%% ring space: %d/%d (%d%%)\n", > ring_idle, > total_ring_full / 100, ring_size,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267782
:
189710
|
189711
| 189723 |
192058