* [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
@ 2020-08-20 18:26 ` Chris Wilson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRI[du]64 as necessary for 32bit builds.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/perf.c | 8 ++++----
tools/i915-perf/i915_perf_recorder.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index 92edc9f1f..a894fd382 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
- igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
+ igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
n, NSEC_PER_SEC / oa_period, max_iterations);
igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
n_extra_iterations);
@@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
- igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
+ igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
n, NSEC_PER_SEC / oa_period, max_iterations);
igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
n_extra_iterations);
@@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
int64_t start, end;
int num_reports = 0;
- igt_debug("Expected duration = %lu\n", *duration_ns);
+ igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
stream_fd = __perf_open(drm_fd, param, true);
@@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
*duration_ns = end - start;
- igt_debug("Actual duration = %lu\n", *duration_ns);
+ igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
return num_reports;
}
diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
index 7671f39b4..adc41c29f 100644
--- a/tools/i915-perf/i915_perf_recorder.c
+++ b/tools/i915-perf/i915_perf_recorder.c
@@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
}
ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
- fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
+ fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
ctx.perf_fd = perf_open(&ctx);
--
2.28.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
@ 2020-08-20 18:26 ` Chris Wilson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRI[du]64 as necessary for 32bit builds.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/perf.c | 8 ++++----
tools/i915-perf/i915_perf_recorder.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index 92edc9f1f..a894fd382 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
- igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
+ igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
n, NSEC_PER_SEC / oa_period, max_iterations);
igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
n_extra_iterations);
@@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
- igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
+ igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
n, NSEC_PER_SEC / oa_period, max_iterations);
igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
n_extra_iterations);
@@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
int64_t start, end;
int num_reports = 0;
- igt_debug("Expected duration = %lu\n", *duration_ns);
+ igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
stream_fd = __perf_open(drm_fd, param, true);
@@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
*duration_ns = end - start;
- igt_debug("Actual duration = %lu\n", *duration_ns);
+ igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
return num_reports;
}
diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
index 7671f39b4..adc41c29f 100644
--- a/tools/i915-perf/i915_perf_recorder.c
+++ b/tools/i915-perf/i915_perf_recorder.c
@@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
}
ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
- fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
+ fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
ctx.perf_fd = perf_open(&ctx);
--
2.28.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_fence: Cleanup 32bit printfs
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
@ 2020-08-20 18:26 ` Chris Wilson
-1 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRI[ux]64 for printing 64bit values in a 32bit build.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/gem_exec_fence.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index b240c30bf..0b8ab1400 100644
--- a/tests/i915/gem_exec_fence.c
+++ b/tests/i915/gem_exec_fence.c
@@ -2408,7 +2408,7 @@ static void build_wait_bb(struct inter_engine_context *context,
uint64_t wait_value =
0xffffffffffffffff - (delay * timestamp_frequency) / NSEC_PER_SEC;
- igt_debug("wait_value=0x%lx\n", wait_value);
+ igt_debug("wait_value=0x%"PRIx64"\n", wait_value);
*bb++ = MI_LOAD_REGISTER_IMM;
*bb++ = 0x2000 + HSW_CS_GPR(0);
@@ -2680,7 +2680,7 @@ static void setup_timeline_chain_engines(struct inter_engine_context *context, i
}
for (uint32_t i = 0; i < 10; i++)
- igt_debug("%u = %lu\n", i, fib(i));
+ igt_debug("%u = %"PRIu64"\n", i, fib(i));
/* Bootstrap the fibonacci sequence */
{
@@ -2759,7 +2759,7 @@ static void test_syncobj_timeline_chain_engines(int fd, struct intel_engine_data
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
/*
@@ -2825,7 +2825,7 @@ static void test_syncobj_stationary_timeline_chain_engines(int fd, struct intel_
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
igt_assert_eq(counter_output[engines->nengines - 1],
fib(ARRAY_SIZE(ctx.iterations) * engines->nengines + 1));
@@ -2886,7 +2886,7 @@ static void test_syncobj_backward_timeline_chain_engines(int fd, struct intel_en
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
igt_assert_eq(counter_output[engines->nengines - 1],
fib(ARRAY_SIZE(ctx.iterations) * engines->nengines + 1));
--
2.28.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] [PATCH i-g-t 2/4] i915/gem_exec_fence: Cleanup 32bit printfs
@ 2020-08-20 18:26 ` Chris Wilson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRI[ux]64 for printing 64bit values in a 32bit build.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/gem_exec_fence.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index b240c30bf..0b8ab1400 100644
--- a/tests/i915/gem_exec_fence.c
+++ b/tests/i915/gem_exec_fence.c
@@ -2408,7 +2408,7 @@ static void build_wait_bb(struct inter_engine_context *context,
uint64_t wait_value =
0xffffffffffffffff - (delay * timestamp_frequency) / NSEC_PER_SEC;
- igt_debug("wait_value=0x%lx\n", wait_value);
+ igt_debug("wait_value=0x%"PRIx64"\n", wait_value);
*bb++ = MI_LOAD_REGISTER_IMM;
*bb++ = 0x2000 + HSW_CS_GPR(0);
@@ -2680,7 +2680,7 @@ static void setup_timeline_chain_engines(struct inter_engine_context *context, i
}
for (uint32_t i = 0; i < 10; i++)
- igt_debug("%u = %lu\n", i, fib(i));
+ igt_debug("%u = %"PRIu64"\n", i, fib(i));
/* Bootstrap the fibonacci sequence */
{
@@ -2759,7 +2759,7 @@ static void test_syncobj_timeline_chain_engines(int fd, struct intel_engine_data
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
/*
@@ -2825,7 +2825,7 @@ static void test_syncobj_stationary_timeline_chain_engines(int fd, struct intel_
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
igt_assert_eq(counter_output[engines->nengines - 1],
fib(ARRAY_SIZE(ctx.iterations) * engines->nengines + 1));
@@ -2886,7 +2886,7 @@ static void test_syncobj_backward_timeline_chain_engines(int fd, struct intel_en
counter_output = gem_mmap__wc(fd, ctx.engine_counter_object.handle, 0, 4096, PROT_READ);
for (uint32_t i = 0; i < ctx.engines->nengines; i++)
- igt_debug("engine %i (%s)\t= %016lx\n", i,
+ igt_debug("engine %i (%s)\t= %016"PRIx64"\n", i,
ctx.engines->engines[i].name, counter_output[i]);
igt_assert_eq(counter_output[engines->nengines - 1],
fib(ARRAY_SIZE(ctx.iterations) * engines->nengines + 1));
--
2.28.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH i-g-t 3/4] i915/bb: Cleanup 32bit printfs
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
@ 2020-08-20 18:26 ` Chris Wilson
-1 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRIx64 for 64b addresses on a 32b build.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/api_intel_bb.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tests/i915/api_intel_bb.c b/tests/i915/api_intel_bb.c
index 6967fc5d0..cf7f6e91b 100644
--- a/tests/i915/api_intel_bb.c
+++ b/tests/i915/api_intel_bb.c
@@ -260,9 +260,9 @@ static void blit(struct buf_ops *bops,
poff_bb = intel_bb_get_object_offset(ibb, ibb->handle);
poff_src = intel_bb_get_object_offset(ibb, src->handle);
poff_dst = intel_bb_get_object_offset(ibb, dst->handle);
- igt_debug("bb presumed offset: 0x%lx\n", poff_bb);
- igt_debug("src presumed offset: 0x%lx\n", poff_src);
- igt_debug("dst presumed offset: 0x%lx\n", poff_dst);
+ igt_debug("bb presumed offset: 0x%"PRIx64"\n", poff_bb);
+ igt_debug("src presumed offset: 0x%"PRIx64"\n", poff_src);
+ igt_debug("dst presumed offset: 0x%"PRIx64"\n", poff_dst);
if (reloc_obj == RELOC) {
igt_assert(poff_bb == 0);
igt_assert(poff_src == 0);
@@ -289,12 +289,12 @@ static void blit(struct buf_ops *bops,
poff2_dst = intel_bb_get_object_offset(ibb, dst->handle);
igt_debug("purge: %d, relocs: %d\n", purge_cache, do_relocs);
- igt_debug("bb presumed offset: 0x%lx\n", poff_bb);
- igt_debug("src presumed offset: 0x%lx\n", poff_src);
- igt_debug("dst presumed offset: 0x%lx\n", poff_dst);
- igt_debug("bb2 presumed offset: 0x%lx\n", poff2_bb);
- igt_debug("src2 presumed offset: 0x%lx\n", poff2_src);
- igt_debug("dst2 presumed offset: 0x%lx\n", poff2_dst);
+ igt_debug("bb presumed offset: 0x%"PRIx64"\n", poff_bb);
+ igt_debug("src presumed offset: 0x%"PRIx64"\n", poff_src);
+ igt_debug("dst presumed offset: 0x%"PRIx64"\n", poff_dst);
+ igt_debug("bb2 presumed offset: 0x%"PRIx64"\n", poff2_bb);
+ igt_debug("src2 presumed offset: 0x%"PRIx64"\n", poff2_src);
+ igt_debug("dst2 presumed offset: 0x%"PRIx64"\n", poff2_dst);
if (purge_cache) {
if (do_relocs) {
igt_assert(poff2_bb == 0);
--
2.28.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] [PATCH i-g-t 3/4] i915/bb: Cleanup 32bit printfs
@ 2020-08-20 18:26 ` Chris Wilson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
Use PRIx64 for 64b addresses on a 32b build.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/api_intel_bb.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tests/i915/api_intel_bb.c b/tests/i915/api_intel_bb.c
index 6967fc5d0..cf7f6e91b 100644
--- a/tests/i915/api_intel_bb.c
+++ b/tests/i915/api_intel_bb.c
@@ -260,9 +260,9 @@ static void blit(struct buf_ops *bops,
poff_bb = intel_bb_get_object_offset(ibb, ibb->handle);
poff_src = intel_bb_get_object_offset(ibb, src->handle);
poff_dst = intel_bb_get_object_offset(ibb, dst->handle);
- igt_debug("bb presumed offset: 0x%lx\n", poff_bb);
- igt_debug("src presumed offset: 0x%lx\n", poff_src);
- igt_debug("dst presumed offset: 0x%lx\n", poff_dst);
+ igt_debug("bb presumed offset: 0x%"PRIx64"\n", poff_bb);
+ igt_debug("src presumed offset: 0x%"PRIx64"\n", poff_src);
+ igt_debug("dst presumed offset: 0x%"PRIx64"\n", poff_dst);
if (reloc_obj == RELOC) {
igt_assert(poff_bb == 0);
igt_assert(poff_src == 0);
@@ -289,12 +289,12 @@ static void blit(struct buf_ops *bops,
poff2_dst = intel_bb_get_object_offset(ibb, dst->handle);
igt_debug("purge: %d, relocs: %d\n", purge_cache, do_relocs);
- igt_debug("bb presumed offset: 0x%lx\n", poff_bb);
- igt_debug("src presumed offset: 0x%lx\n", poff_src);
- igt_debug("dst presumed offset: 0x%lx\n", poff_dst);
- igt_debug("bb2 presumed offset: 0x%lx\n", poff2_bb);
- igt_debug("src2 presumed offset: 0x%lx\n", poff2_src);
- igt_debug("dst2 presumed offset: 0x%lx\n", poff2_dst);
+ igt_debug("bb presumed offset: 0x%"PRIx64"\n", poff_bb);
+ igt_debug("src presumed offset: 0x%"PRIx64"\n", poff_src);
+ igt_debug("dst presumed offset: 0x%"PRIx64"\n", poff_dst);
+ igt_debug("bb2 presumed offset: 0x%"PRIx64"\n", poff2_bb);
+ igt_debug("src2 presumed offset: 0x%"PRIx64"\n", poff2_src);
+ igt_debug("dst2 presumed offset: 0x%"PRIx64"\n", poff2_dst);
if (purge_cache) {
if (do_relocs) {
igt_assert(poff2_bb == 0);
--
2.28.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_exec_alignment: 32b printf cleanups
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
@ 2020-08-20 18:26 ` Chris Wilson
-1 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
PRIu64 to the rescue!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/gem_exec_alignment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c
index 17a14bef4..7bbd2a8fc 100644
--- a/tests/i915/gem_exec_alignment.c
+++ b/tests/i915/gem_exec_alignment.c
@@ -204,7 +204,7 @@ naughty_child(int i915, int link, uint32_t shared, unsigned int flags)
execbuf.buffer_count =
create_batch(i915, obj, execbuf.buffer_count, count, flags);
gem_execbuf(i915, &execbuf);
- igt_debug("Created %lu buffers ready for delay\n", count);
+ igt_debug("Created %"PRIu64" buffers ready for delay\n", count);
/* Calibrate a long execbuf() */
memset(&tv, 0, sizeof(tv));
--
2.28.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] [PATCH i-g-t 4/4] i915/gem_exec_alignment: 32b printf cleanups
@ 2020-08-20 18:26 ` Chris Wilson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Wilson @ 2020-08-20 18:26 UTC (permalink / raw)
To: igt-dev; +Cc: intel-gfx, Chris Wilson
PRIu64 to the rescue!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/gem_exec_alignment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c
index 17a14bef4..7bbd2a8fc 100644
--- a/tests/i915/gem_exec_alignment.c
+++ b/tests/i915/gem_exec_alignment.c
@@ -204,7 +204,7 @@ naughty_child(int i915, int link, uint32_t shared, unsigned int flags)
execbuf.buffer_count =
create_batch(i915, obj, execbuf.buffer_count, count, flags);
gem_execbuf(i915, &execbuf);
- igt_debug("Created %lu buffers ready for delay\n", count);
+ igt_debug("Created %"PRIu64" buffers ready for delay\n", count);
/* Calibrate a long execbuf() */
memset(&tv, 0, sizeof(tv));
--
2.28.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] i915/perf: 32bit printf cleanup
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
` (3 preceding siblings ...)
(?)
@ 2020-08-20 19:06 ` Patchwork
-1 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2020-08-20 19:06 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 5780 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/4] i915/perf: 32bit printf cleanup
URL : https://patchwork.freedesktop.org/series/80869/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8910 -> IGTPW_4900
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
Known issues
------------
Here are the changes found in IGTPW_4900 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html
* igt@i915_pm_rpm@module-reload:
- fi-bsw-n3050: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-bsw-n3050/igt@i915_pm_rpm@module-reload.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-bsw-n3050/igt@i915_pm_rpm@module-reload.html
* igt@i915_selftest@live@execlists:
- fi-icl-y: [PASS][5] -> [INCOMPLETE][6] ([i915#2276])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-icl-y/igt@i915_selftest@live@execlists.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-icl-y/igt@i915_selftest@live@execlists.html
#### Possible fixes ####
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [FAIL][7] ([i915#1372]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
* igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2:
- fi-skl-guc: [DMESG-WARN][9] ([i915#2203]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-skl-guc/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-skl-guc/igt@kms_flip@basic-flip-vs-wf_vblank@c-hdmi-a2.html
#### Warnings ####
* igt@i915_pm_rpm@module-reload:
- fi-kbl-x1275: [SKIP][11] ([fdo#109271]) -> [DMESG-FAIL][12] ([i915#62] / [i915#95])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-kbl-x1275/igt@i915_pm_rpm@module-reload.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-kbl-x1275/igt@i915_pm_rpm@module-reload.html
- fi-skl-6700k2: [INCOMPLETE][13] ([i915#151] / [i915#2203]) -> [DMESG-WARN][14] ([i915#2203])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-skl-6700k2/igt@i915_pm_rpm@module-reload.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-skl-6700k2/igt@i915_pm_rpm@module-reload.html
* igt@kms_force_connector_basic@force-connector-state:
- fi-kbl-x1275: [DMESG-WARN][15] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][16] ([i915#62] / [i915#92]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-kbl-x1275/igt@kms_force_connector_basic@force-connector-state.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-kbl-x1275/igt@kms_force_connector_basic@force-connector-state.html
* igt@kms_force_connector_basic@prune-stale-modes:
- fi-kbl-x1275: [DMESG-WARN][17] ([i915#62] / [i915#92]) -> [DMESG-WARN][18] ([i915#62] / [i915#92] / [i915#95]) +5 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-kbl-x1275/igt@kms_force_connector_basic@prune-stale-modes.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-kbl-x1275/igt@kms_force_connector_basic@prune-stale-modes.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92]) -> [DMESG-WARN][20] ([i915#1982] / [i915#62] / [i915#92])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/fi-kbl-x1275/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/fi-kbl-x1275/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1372]: https://gitlab.freedesktop.org/drm/intel/issues/1372
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2100]: https://gitlab.freedesktop.org/drm/intel/issues/2100
[i915#2203]: https://gitlab.freedesktop.org/drm/intel/issues/2203
[i915#2276]: https://gitlab.freedesktop.org/drm/intel/issues/2276
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (39 -> 34)
------------------------------
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5769 -> IGTPW_4900
CI-20190529: 20190529
CI_DRM_8910: a300e6a7af948f4a89a1e4ca42e8d2ae0d580f4e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4900: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
IGT_5769: 4e5f76be680b65780204668e302026cf638decc9 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
[-- Attachment #1.2: Type: text/html, Size: 7648 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
@ 2020-08-20 21:45 ` Lionel Landwerlin
-1 siblings, 0 replies; 16+ messages in thread
From: Lionel Landwerlin @ 2020-08-20 21:45 UTC (permalink / raw)
To: Chris Wilson, igt-dev; +Cc: intel-gfx
On 20/08/2020 20:26, Chris Wilson wrote:
> Use PRI[du]64 as necessary for 32bit builds.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Thanks!
-Lionel
> ---
> tests/i915/perf.c | 8 ++++----
> tools/i915-perf/i915_perf_recorder.c | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/i915/perf.c b/tests/i915/perf.c
> index 92edc9f1f..a894fd382 100644
> --- a/tests/i915/perf.c
> +++ b/tests/i915/perf.c
> @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>
> - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> n, NSEC_PER_SEC / oa_period, max_iterations);
> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> n_extra_iterations);
> @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>
> - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> n, NSEC_PER_SEC / oa_period, max_iterations);
> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> n_extra_iterations);
> @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> int64_t start, end;
> int num_reports = 0;
>
> - igt_debug("Expected duration = %lu\n", *duration_ns);
> + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
>
> stream_fd = __perf_open(drm_fd, param, true);
>
> @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>
> *duration_ns = end - start;
>
> - igt_debug("Actual duration = %lu\n", *duration_ns);
> + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
>
> return num_reports;
> }
> diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
> index 7671f39b4..adc41c29f 100644
> --- a/tools/i915-perf/i915_perf_recorder.c
> +++ b/tools/i915-perf/i915_perf_recorder.c
> @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
> }
>
> ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
> - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
> + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
> ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
>
> ctx.perf_fd = perf_open(&ctx);
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
@ 2020-08-20 21:45 ` Lionel Landwerlin
0 siblings, 0 replies; 16+ messages in thread
From: Lionel Landwerlin @ 2020-08-20 21:45 UTC (permalink / raw)
To: Chris Wilson, igt-dev; +Cc: intel-gfx
On 20/08/2020 20:26, Chris Wilson wrote:
> Use PRI[du]64 as necessary for 32bit builds.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Thanks!
-Lionel
> ---
> tests/i915/perf.c | 8 ++++----
> tools/i915-perf/i915_perf_recorder.c | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/i915/perf.c b/tests/i915/perf.c
> index 92edc9f1f..a894fd382 100644
> --- a/tests/i915/perf.c
> +++ b/tests/i915/perf.c
> @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>
> - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> n, NSEC_PER_SEC / oa_period, max_iterations);
> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> n_extra_iterations);
> @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>
> - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> n, NSEC_PER_SEC / oa_period, max_iterations);
> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> n_extra_iterations);
> @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> int64_t start, end;
> int num_reports = 0;
>
> - igt_debug("Expected duration = %lu\n", *duration_ns);
> + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
>
> stream_fd = __perf_open(drm_fd, param, true);
>
> @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>
> *duration_ns = end - start;
>
> - igt_debug("Actual duration = %lu\n", *duration_ns);
> + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
>
> return num_reports;
> }
> diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
> index 7671f39b4..adc41c29f 100644
> --- a/tools/i915-perf/i915_perf_recorder.c
> +++ b/tools/i915-perf/i915_perf_recorder.c
> @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
> }
>
> ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
> - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
> + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
> ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
>
> ctx.perf_fd = perf_open(&ctx);
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/4] i915/perf: 32bit printf cleanup
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
` (5 preceding siblings ...)
(?)
@ 2020-08-21 4:16 ` Patchwork
-1 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2020-08-21 4:16 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 15757 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/4] i915/perf: 32bit printf cleanup
URL : https://patchwork.freedesktop.org/series/80869/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8910_full -> IGTPW_4900_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
Known issues
------------
Here are the changes found in IGTPW_4900_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_whisper@basic-queues-all:
- shard-glk: [PASS][1] -> [DMESG-WARN][2] ([i915#118] / [i915#95])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk8/igt@gem_exec_whisper@basic-queues-all.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk1/igt@gem_exec_whisper@basic-queues-all.html
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [PASS][3] -> [WARN][4] ([i915#1515])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb8/igt@i915_pm_rc6_residency@rc6-fence.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb3/igt@i915_pm_rc6_residency@rc6-fence.html
* igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen:
- shard-kbl: [PASS][5] -> [FAIL][6] ([i915#54]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl2/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl7/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
- shard-apl: [PASS][7] -> [FAIL][8] ([i915#1635] / [i915#54]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-apl3/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-apl1/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
- shard-glk: [PASS][9] -> [FAIL][10] ([i915#54]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk3/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk6/igt@kms_cursor_crc@pipe-b-cursor-64x21-onscreen.html
* igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge:
- shard-snb: [PASS][11] -> [TIMEOUT][12] ([i915#1958]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-snb2/igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-snb5/igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge.html
- shard-hsw: [PASS][13] -> [TIMEOUT][14] ([i915#1958])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw1/igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw1/igt@kms_cursor_edge_walk@pipe-a-64x64-bottom-edge.html
* igt@kms_cursor_edge_walk@pipe-b-64x64-bottom-edge:
- shard-glk: [PASS][15] -> [DMESG-WARN][16] ([i915#1982])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk3/igt@kms_cursor_edge_walk@pipe-b-64x64-bottom-edge.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk5/igt@kms_cursor_edge_walk@pipe-b-64x64-bottom-edge.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([i915#180]) +10 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl1/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl4/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
* igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack:
- shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack.html
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-tglb: [PASS][21] -> [DMESG-WARN][22] ([i915#1982]) +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-tglb1/igt@kms_frontbuffer_tracking@fbc-stridechange.html
* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb6/igt@kms_psr@psr2_cursor_mmap_gtt.html
* igt@kms_setmode@basic:
- shard-kbl: [PASS][25] -> [FAIL][26] ([i915#31])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl1/igt@kms_setmode@basic.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl7/igt@kms_setmode@basic.html
* igt@perf@blocking-parameterized:
- shard-tglb: [PASS][27] -> [FAIL][28] ([i915#1542])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-tglb1/igt@perf@blocking-parameterized.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-tglb3/igt@perf@blocking-parameterized.html
* igt@perf_pmu@module-unload:
- shard-apl: [PASS][29] -> [DMESG-WARN][30] ([i915#1635] / [i915#1982])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-apl7/igt@perf_pmu@module-unload.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-apl7/igt@perf_pmu@module-unload.html
* igt@prime_busy@before@vecs0:
- shard-hsw: [PASS][31] -> [FAIL][32] ([i915#2258]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw2/igt@prime_busy@before@vecs0.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw8/igt@prime_busy@before@vecs0.html
#### Possible fixes ####
* igt@gem_exec_gttfill@all:
- shard-glk: [DMESG-WARN][33] ([i915#118] / [i915#95]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk5/igt@gem_exec_gttfill@all.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk2/igt@gem_exec_gttfill@all.html
* igt@gem_exec_suspend@basic-s3:
- shard-snb: [TIMEOUT][35] ([i915#1958]) -> [PASS][36] +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-snb5/igt@gem_exec_suspend@basic-s3.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-snb5/igt@gem_exec_suspend@basic-s3.html
* igt@i915_suspend@debugfs-reader:
- shard-iclb: [INCOMPLETE][37] ([i915#1185]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb3/igt@i915_suspend@debugfs-reader.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb4/igt@i915_suspend@debugfs-reader.html
* igt@kms_big_fb@linear-64bpp-rotate-0:
- shard-glk: [DMESG-FAIL][39] ([i915#118] / [i915#95]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk8/igt@kms_big_fb@linear-64bpp-rotate-0.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk2/igt@kms_big_fb@linear-64bpp-rotate-0.html
* igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge:
- shard-hsw: [DMESG-WARN][41] ([i915#1982]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw6/igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw1/igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- shard-tglb: [DMESG-WARN][43] ([i915#1982]) -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-tglb5/igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-tglb8/igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt:
- shard-kbl: [DMESG-WARN][45] ([i915#1982]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:
- shard-iclb: [DMESG-WARN][47] ([i915#1982]) -> [PASS][48] +2 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +4 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-kbl7/igt@kms_hdr@bpc-switch-suspend.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-kbl7/igt@kms_hdr@bpc-switch-suspend.html
* igt@kms_plane_cursor@pipe-a-primary-size-128:
- shard-glk: [DMESG-WARN][51] ([i915#1982]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-glk6/igt@kms_plane_cursor@pipe-a-primary-size-128.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-glk8/igt@kms_plane_cursor@pipe-a-primary-size-128.html
* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][53] ([fdo#109642] / [fdo#111068]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb8/igt@kms_psr2_su@page_flip.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb2/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_blt:
- shard-iclb: [SKIP][55] ([fdo#109441]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb6/igt@kms_psr@psr2_primary_blt.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb2/igt@kms_psr@psr2_primary_blt.html
* igt@perf@oa-exponents:
- shard-hsw: [INCOMPLETE][57] ([i915#1958]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw2/igt@perf@oa-exponents.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw1/igt@perf@oa-exponents.html
* igt@prime_busy@hang-wait@bcs0:
- shard-hsw: [FAIL][59] ([i915#2258]) -> [PASS][60] +5 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw8/igt@prime_busy@hang-wait@bcs0.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw1/igt@prime_busy@hang-wait@bcs0.html
#### Warnings ####
* igt@gem_exec_fence@submit:
- shard-snb: [SKIP][61] ([fdo#109271]) -> [TIMEOUT][62] ([i915#1958]) +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-snb4/igt@gem_exec_fence@submit.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-snb5/igt@gem_exec_fence@submit.html
* igt@gem_exec_schedule@preemptive-hang:
- shard-snb: [TIMEOUT][63] ([i915#1958]) -> [SKIP][64] ([fdo#109271]) +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-snb5/igt@gem_exec_schedule@preemptive-hang.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-snb4/igt@gem_exec_schedule@preemptive-hang.html
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][65] ([i915#658]) -> [SKIP][66] ([i915#588])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb4/igt@i915_pm_dc@dc3co-vpb-simulation.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb2/igt@i915_pm_dc@dc3co-vpb-simulation.html
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [FAIL][67] ([i915#1515]) -> [WARN][68] ([i915#1515])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-iclb6/igt@i915_pm_rc6_residency@rc6-idle.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-iclb4/igt@i915_pm_rc6_residency@rc6-idle.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-hsw: [SKIP][69] ([fdo#109271]) -> [TIMEOUT][70] ([i915#1958]) +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
* igt@runner@aborted:
- shard-hsw: ([FAIL][71], [FAIL][72]) ([i915#1958] / [i915#2283]) -> [FAIL][73] ([i915#2283])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw8/igt@runner@aborted.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8910/shard-hsw2/igt@runner@aborted.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/shard-hsw7/igt@runner@aborted.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1185]: https://gitlab.freedesktop.org/drm/intel/issues/1185
[i915#1515]: https://gitlab.freedesktop.org/drm/intel/issues/1515
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2258]: https://gitlab.freedesktop.org/drm/intel/issues/2258
[i915#2283]: https://gitlab.freedesktop.org/drm/intel/issues/2283
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5769 -> IGTPW_4900
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8910: a300e6a7af948f4a89a1e4ca42e8d2ae0d580f4e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4900: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
IGT_5769: 4e5f76be680b65780204668e302026cf638decc9 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4900/index.html
[-- Attachment #1.2: Type: text/html, Size: 19240 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
2020-08-20 21:45 ` [igt-dev] " Lionel Landwerlin
@ 2020-08-21 7:54 ` Petri Latvala
-1 siblings, 0 replies; 16+ messages in thread
From: Petri Latvala @ 2020-08-21 7:54 UTC (permalink / raw)
To: Lionel Landwerlin; +Cc: igt-dev, intel-gfx, Chris Wilson
On Fri, Aug 21, 2020 at 12:45:23AM +0300, Lionel Landwerlin wrote:
> On 20/08/2020 20:26, Chris Wilson wrote:
> > Use PRI[du]64 as necessary for 32bit builds.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>
Was this for just 1/4 or the whole series?
This one is for the whole series:
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
>
> Thanks!
>
> -Lionel
>
> > ---
> > tests/i915/perf.c | 8 ++++----
> > tools/i915-perf/i915_perf_recorder.c | 2 +-
> > 2 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/tests/i915/perf.c b/tests/i915/perf.c
> > index 92edc9f1f..a894fd382 100644
> > --- a/tests/i915/perf.c
> > +++ b/tests/i915/perf.c
> > @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
> > user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> > kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
> > - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> > + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> > n, NSEC_PER_SEC / oa_period, max_iterations);
> > igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> > n_extra_iterations);
> > @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
> > user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> > kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
> > - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> > + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> > n, NSEC_PER_SEC / oa_period, max_iterations);
> > igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> > n_extra_iterations);
> > @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> > int64_t start, end;
> > int num_reports = 0;
> > - igt_debug("Expected duration = %lu\n", *duration_ns);
> > + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
> > stream_fd = __perf_open(drm_fd, param, true);
> > @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> > *duration_ns = end - start;
> > - igt_debug("Actual duration = %lu\n", *duration_ns);
> > + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
> > return num_reports;
> > }
> > diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
> > index 7671f39b4..adc41c29f 100644
> > --- a/tools/i915-perf/i915_perf_recorder.c
> > +++ b/tools/i915-perf/i915_perf_recorder.c
> > @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
> > }
> > ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
> > - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
> > + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
> > ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
> > ctx.perf_fd = perf_open(&ctx);
>
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
@ 2020-08-21 7:54 ` Petri Latvala
0 siblings, 0 replies; 16+ messages in thread
From: Petri Latvala @ 2020-08-21 7:54 UTC (permalink / raw)
To: Lionel Landwerlin; +Cc: igt-dev, intel-gfx, Chris Wilson
On Fri, Aug 21, 2020 at 12:45:23AM +0300, Lionel Landwerlin wrote:
> On 20/08/2020 20:26, Chris Wilson wrote:
> > Use PRI[du]64 as necessary for 32bit builds.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>
Was this for just 1/4 or the whole series?
This one is for the whole series:
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
>
> Thanks!
>
> -Lionel
>
> > ---
> > tests/i915/perf.c | 8 ++++----
> > tools/i915-perf/i915_perf_recorder.c | 2 +-
> > 2 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/tests/i915/perf.c b/tests/i915/perf.c
> > index 92edc9f1f..a894fd382 100644
> > --- a/tests/i915/perf.c
> > +++ b/tests/i915/perf.c
> > @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
> > user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> > kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
> > - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> > + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> > n, NSEC_PER_SEC / oa_period, max_iterations);
> > igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> > n_extra_iterations);
> > @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
> > user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
> > kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
> > - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
> > + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
> > n, NSEC_PER_SEC / oa_period, max_iterations);
> > igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
> > n_extra_iterations);
> > @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> > int64_t start, end;
> > int num_reports = 0;
> > - igt_debug("Expected duration = %lu\n", *duration_ns);
> > + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
> > stream_fd = __perf_open(drm_fd, param, true);
> > @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
> > *duration_ns = end - start;
> > - igt_debug("Actual duration = %lu\n", *duration_ns);
> > + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
> > return num_reports;
> > }
> > diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
> > index 7671f39b4..adc41c29f 100644
> > --- a/tools/i915-perf/i915_perf_recorder.c
> > +++ b/tools/i915-perf/i915_perf_recorder.c
> > @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
> > }
> > ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
> > - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
> > + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
> > ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
> > ctx.perf_fd = perf_open(&ctx);
>
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
2020-08-21 7:54 ` [igt-dev] [Intel-gfx] " Petri Latvala
@ 2020-08-21 8:14 ` Lionel Landwerlin
-1 siblings, 0 replies; 16+ messages in thread
From: Lionel Landwerlin @ 2020-08-21 8:14 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, intel-gfx, Chris Wilson
On 21/08/2020 10:54, Petri Latvala wrote:
> On Fri, Aug 21, 2020 at 12:45:23AM +0300, Lionel Landwerlin wrote:
>> On 20/08/2020 20:26, Chris Wilson wrote:
>>> Use PRI[du]64 as necessary for 32bit builds.
>>>
>>> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>>
> Was this for just 1/4 or the whole series?
Just for this patch.
-Lionel
>
> This one is for the whole series:
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
>
>
>
>> Thanks!
>>
>> -Lionel
>>
>>> ---
>>> tests/i915/perf.c | 8 ++++----
>>> tools/i915-perf/i915_perf_recorder.c | 2 +-
>>> 2 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/tests/i915/perf.c b/tests/i915/perf.c
>>> index 92edc9f1f..a894fd382 100644
>>> --- a/tests/i915/perf.c
>>> +++ b/tests/i915/perf.c
>>> @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
>>> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
>>> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>>> - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
>>> + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
>>> n, NSEC_PER_SEC / oa_period, max_iterations);
>>> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
>>> n_extra_iterations);
>>> @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
>>> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
>>> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>>> - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
>>> + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
>>> n, NSEC_PER_SEC / oa_period, max_iterations);
>>> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
>>> n_extra_iterations);
>>> @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>>> int64_t start, end;
>>> int num_reports = 0;
>>> - igt_debug("Expected duration = %lu\n", *duration_ns);
>>> + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
>>> stream_fd = __perf_open(drm_fd, param, true);
>>> @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>>> *duration_ns = end - start;
>>> - igt_debug("Actual duration = %lu\n", *duration_ns);
>>> + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
>>> return num_reports;
>>> }
>>> diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
>>> index 7671f39b4..adc41c29f 100644
>>> --- a/tools/i915-perf/i915_perf_recorder.c
>>> +++ b/tools/i915-perf/i915_perf_recorder.c
>>> @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
>>> }
>>> ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
>>> - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
>>> + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
>>> ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
>>> ctx.perf_fd = perf_open(&ctx);
>>
>> _______________________________________________
>> igt-dev mailing list
>> igt-dev@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup
@ 2020-08-21 8:14 ` Lionel Landwerlin
0 siblings, 0 replies; 16+ messages in thread
From: Lionel Landwerlin @ 2020-08-21 8:14 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev, intel-gfx, Chris Wilson
On 21/08/2020 10:54, Petri Latvala wrote:
> On Fri, Aug 21, 2020 at 12:45:23AM +0300, Lionel Landwerlin wrote:
>> On 20/08/2020 20:26, Chris Wilson wrote:
>>> Use PRI[du]64 as necessary for 32bit builds.
>>>
>>> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>>
> Was this for just 1/4 or the whole series?
Just for this patch.
-Lionel
>
> This one is for the whole series:
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
>
>
>
>> Thanks!
>>
>> -Lionel
>>
>>> ---
>>> tests/i915/perf.c | 8 ++++----
>>> tools/i915-perf/i915_perf_recorder.c | 2 +-
>>> 2 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/tests/i915/perf.c b/tests/i915/perf.c
>>> index 92edc9f1f..a894fd382 100644
>>> --- a/tests/i915/perf.c
>>> +++ b/tests/i915/perf.c
>>> @@ -2077,7 +2077,7 @@ test_blocking(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ke
>>> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
>>> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>>> - igt_debug("%d blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
>>> + igt_debug("%d blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
>>> n, NSEC_PER_SEC / oa_period, max_iterations);
>>> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
>>> n_extra_iterations);
>>> @@ -2265,7 +2265,7 @@ test_polling(uint64_t requested_oa_period, bool set_kernel_hrtimer, uint64_t ker
>>> user_ns = (end_times.tms_utime - start_times.tms_utime) * tick_ns;
>>> kernel_ns = (end_times.tms_stime - start_times.tms_stime) * tick_ns;
>>> - igt_debug("%d non-blocking reads during test with %lu Hz OA sampling (expect no more than %d)\n",
>>> + igt_debug("%d non-blocking reads during test with %"PRIu64" Hz OA sampling (expect no more than %d)\n",
>>> n, NSEC_PER_SEC / oa_period, max_iterations);
>>> igt_debug("%d extra iterations seen, not related to periodic sampling (e.g. context switches)\n",
>>> n_extra_iterations);
>>> @@ -2357,7 +2357,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>>> int64_t start, end;
>>> int num_reports = 0;
>>> - igt_debug("Expected duration = %lu\n", *duration_ns);
>>> + igt_debug("Expected duration = %"PRId64"\n", *duration_ns);
>>> stream_fd = __perf_open(drm_fd, param, true);
>>> @@ -2389,7 +2389,7 @@ num_valid_reports_captured(struct drm_i915_perf_open_param *param,
>>> *duration_ns = end - start;
>>> - igt_debug("Actual duration = %lu\n", *duration_ns);
>>> + igt_debug("Actual duration = %"PRIu64"\n", *duration_ns);
>>> return num_reports;
>>> }
>>> diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c
>>> index 7671f39b4..adc41c29f 100644
>>> --- a/tools/i915-perf/i915_perf_recorder.c
>>> +++ b/tools/i915-perf/i915_perf_recorder.c
>>> @@ -1001,7 +1001,7 @@ main(int argc, char *argv[])
>>> }
>>> ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period);
>>> - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n",
>>> + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n",
>>> ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent);
>>> ctx.perf_fd = perf_open(&ctx);
>>
>> _______________________________________________
>> igt-dev mailing list
>> igt-dev@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-08-21 8:14 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 18:26 [Intel-gfx] [PATCH i-g-t 1/4] i915/perf: 32bit printf cleanup Chris Wilson
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
2020-08-20 18:26 ` [Intel-gfx] [PATCH i-g-t 2/4] i915/gem_exec_fence: Cleanup 32bit printfs Chris Wilson
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
2020-08-20 18:26 ` [Intel-gfx] [PATCH i-g-t 3/4] i915/bb: " Chris Wilson
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
2020-08-20 18:26 ` [Intel-gfx] [PATCH i-g-t 4/4] i915/gem_exec_alignment: 32b printf cleanups Chris Wilson
2020-08-20 18:26 ` [igt-dev] " Chris Wilson
2020-08-20 19:06 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] i915/perf: 32bit printf cleanup Patchwork
2020-08-20 21:45 ` [Intel-gfx] [PATCH i-g-t 1/4] " Lionel Landwerlin
2020-08-20 21:45 ` [igt-dev] " Lionel Landwerlin
2020-08-21 7:54 ` [Intel-gfx] [igt-dev] " Petri Latvala
2020-08-21 7:54 ` [igt-dev] [Intel-gfx] " Petri Latvala
2020-08-21 8:14 ` [Intel-gfx] [igt-dev] " Lionel Landwerlin
2020-08-21 8:14 ` [igt-dev] [Intel-gfx] " Lionel Landwerlin
2020-08-21 4:16 ` [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/4] " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.