Re: [Intel-gfx] [PATCH igt 0/8] Non-Intel test suite fixes

2018-05-08 Thread Ulrich Hecht
On Fri, Apr 27, 2018 at 6:03 PM, Laurent Pinchart wrote: > Hi Ulrich, > > On Thursday, 15 March 2018 16:45:36 EEST Ulrich Hecht wrote: >> Hi! >> >> I have run the tests on a Renesas R-Car M3-W's DU device, and have found a >> number of false negatives that m

Re: [Intel-gfx] [PATCH igt 0/8] Non-Intel test suite fixes

2018-03-19 Thread Ulrich Hecht
On Fri, Mar 16, 2018 at 9:55 AM, Daniel Vetter wrote: > On Thu, Mar 15, 2018 at 03:45:36PM +0100, Ulrich Hecht wrote: >> Hi! >> >> I have run the tests on a Renesas R-Car M3-W's DU device, and have found a >> number of false negatives that mostly stem from u

[Intel-gfx] [PATCH igt 8/8] test/kms_addfb_basic: tolerate absence of 8-bit format

2018-03-15 Thread Ulrich Hecht
Ignores failure to add DRM_FORMAT_C8 frame buffer; some devices do not support any 8-bit format. Signed-off-by: Ulrich Hecht --- tests/kms_addfb_basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c index d1da718

[Intel-gfx] [PATCH igt 1/8] tests/kms_addfb_basic: skip i915-specific tests on other platforms

2018-03-15 Thread Ulrich Hecht
Add is_i915_device() requirement to tests using Intel-specific APIs. Signed-off-by: Ulrich Hecht --- tests/kms_addfb_basic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c index 7d8852f..cf9ba37 100644 --- a/tests/kms_addfb_basic.c +++ b

[Intel-gfx] [PATCH igt 3/8] lib/igt_gt: has_gpu_reset(): fix failed assertion on non-i915 platforms

2018-03-15 Thread Ulrich Hecht
Checks if we have an i915 device before using intel_get_drm_devid(). Signed-off-by: Ulrich Hecht --- lib/igt_gt.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/igt_gt.c b/lib/igt_gt.c index e630550..9cb07c2 100644 --- a/lib/igt_gt.c +++ b/lib

[Intel-gfx] [PATCH igt 0/8] Non-Intel test suite fixes

2018-03-15 Thread Ulrich Hecht
Hi! I have run the tests on a Renesas R-Car M3-W's DU device, and have found a number of false negatives that mostly stem from use of Intel-specifics without checking if that makes sense first. So here's a bunch of fixes for those, hope they are generic enough for upstreaming. CU Ul

[Intel-gfx] [PATCH igt 7/8] tests/kms_addfb_basic: size_tests(): reduce test buffer size

2018-03-15 Thread Ulrich Hecht
Fixes fails on low-memory devices. Signed-off-by: Ulrich Hecht --- tests/kms_addfb_basic.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c index cf9ba37..d1da718 100644 --- a/tests

[Intel-gfx] [PATCH igt 5/8] tests/kms_plane_lowres: skip i915-specific tests on other platforms

2018-03-15 Thread Ulrich Hecht
Add is_i915_device() requirement to tests using Intel-specific APIs. Signed-off-by: Ulrich Hecht --- tests/kms_plane_lowres.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c index d1e4b3c..8fc7654 100644 --- a/tests/kms_plane_lowres.c

[Intel-gfx] [PATCH igt 2/8] tests/kms_panel_fitting: check for i915 before checking version

2018-03-15 Thread Ulrich Hecht
Fixes false negatives on non-i915 platforms. Signed-off-by: Ulrich Hecht --- tests/kms_panel_fitting.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c index b3cee22..6d0be50 100644 --- a/tests/kms_panel_fitting.c +++ b/tests

[Intel-gfx] [PATCH igt 4/8] lib/igt_gt: check for presence of GPU reset before using it

2018-03-15 Thread Ulrich Hecht
Fixes failed assertion on non-i915 devices. Signed-off-by: Ulrich Hecht --- lib/igt_gt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 9cb07c2..825ea52 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -166,14 +166,15 @@ igt_hang_t

[Intel-gfx] [PATCH igt 6/8] lib/igt_pm: turn absence of autosuspend_delay_ms from fail to skip

2018-03-15 Thread Ulrich Hecht
Fixes false negatives on everything that doesn't happen to be at a specific hard-coded sysfs path... Signed-off-by: Ulrich Hecht --- lib/igt_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_pm.c b/lib/igt_pm.c index 5bf5b2e..641157b 100644 --- a/lib/igt