* [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Remove page nonaligned buffer tests @ 2020-01-27 8:32 Ramalingam C 2020-01-27 8:37 ` Chris Wilson 2020-01-27 14:00 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 0 siblings, 2 replies; 3+ messages in thread From: Ramalingam C @ 2020-01-27 8:32 UTC (permalink / raw) To: igt-dev Considering that kernel returns the real memory size(page aligned) allocated, nonaligned buffer tests are not valid anymore. Hence removing them. Signed-off-by: Ramalingam C <ramalingam.c@intel.com> cc: Chris Wilson <chris@chris-wilson.co.uk> --- tests/dumb_buffer.c | 52 --------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c index 3d2dc9966d0b..b6fe6f5dc6ec 100644 --- a/tests/dumb_buffer.c +++ b/tests/dumb_buffer.c @@ -200,52 +200,6 @@ static void invalid_size_map(int fd) dumb_destroy(fd, create.handle); } -/* - * Creating an dumb buffer with non-aligned size and trying to access it with an - * offset, which is greater than the requested size but smaller than the - * object's last page boundary. pwrite here must be successful. - */ -static void valid_nonaligned_size(int fd) -{ - struct drm_mode_create_dumb create = { - .width = 24, - .height = 24, - .bpp = 32, - }; - char buf[PAGE_SIZE]; - - igt_require(is_i915_device(fd)); - - dumb_create(fd, &create); - - gem_write(fd, create.handle, PAGE_SIZE / 2, buf, PAGE_SIZE / 2); - - dumb_destroy(fd, create.handle); -} - -/* - * Creating an object with non-aligned size and trying to access it with an - * offset, which is greater than the requested size and larger than the - * object's last page boundary. pwrite here must fail. - */ -static void invalid_nonaligned_size(int fd) -{ - struct drm_mode_create_dumb create = { - .width = 24, - .height = 24, - .bpp = 32, - }; - char buf[PAGE_SIZE]; - - igt_require(is_i915_device(fd)); - - dumb_create(fd, &create); - /* This should fail. Hence cannot use gem_write. */ - igt_assert(__gem_write(fd, create.handle, - create.size - (PAGE_SIZE / 2), buf, PAGE_SIZE)); - dumb_destroy(fd, create.handle); -} - static uint64_t atomic_compare_swap_u64(_Atomic(uint64_t) *ptr, uint64_t oldval, uint64_t newval) { @@ -362,12 +316,6 @@ igt_main igt_subtest("create-valid-dumb") valid_dumb_creation_test(fd); - igt_subtest("create-valid-nonaligned") - valid_nonaligned_size(fd); - - igt_subtest("create-invalid-nonaligned") - invalid_nonaligned_size(fd); - igt_subtest("map-valid") valid_map(fd); -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Remove page nonaligned buffer tests 2020-01-27 8:32 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Remove page nonaligned buffer tests Ramalingam C @ 2020-01-27 8:37 ` Chris Wilson 2020-01-27 14:00 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Chris Wilson @ 2020-01-27 8:37 UTC (permalink / raw) To: Ramalingam C, igt-dev Quoting Ramalingam C (2020-01-27 08:32:03) > Considering that kernel returns the real memory size(page aligned) > allocated, nonaligned buffer tests are not valid anymore. Hence removing > them. > > Signed-off-by: Ramalingam C <ramalingam.c@intel.com> > cc: Chris Wilson <chris@chris-wilson.co.uk> Just because they work is not necessary a good reason to scrap them :) But since these are most definitely based on i915 assumptions, Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> -Chris _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 3+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for tests/dumb_buffer: Remove page nonaligned buffer tests 2020-01-27 8:32 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Remove page nonaligned buffer tests Ramalingam C 2020-01-27 8:37 ` Chris Wilson @ 2020-01-27 14:00 ` Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Patchwork @ 2020-01-27 14:00 UTC (permalink / raw) To: Ramalingam C; +Cc: igt-dev == Series Details == Series: tests/dumb_buffer: Remove page nonaligned buffer tests URL : https://patchwork.freedesktop.org/series/72602/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7814 -> IGTPW_3997 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_3997 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_3997, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3997: ### IGT changes ### #### Possible regressions #### * igt@gem_close_race@basic-threads: - fi-hsw-peppy: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-hsw-peppy/igt@gem_close_race@basic-threads.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-hsw-peppy/igt@gem_close_race@basic-threads.html Known issues ------------ Here are the changes found in IGTPW_3997 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_parallel@fds: - fi-byt-n2820: [PASS][3] -> [TIMEOUT][4] ([fdo#112271]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-byt-n2820/igt@gem_exec_parallel@fds.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-byt-n2820/igt@gem_exec_parallel@fds.html * igt@i915_module_load@reload-with-fault-injection: - fi-skl-6700k2: [PASS][5] -> [INCOMPLETE][6] ([i915#671]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-skl-6700k2/igt@i915_module_load@reload-with-fault-injection.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-skl-6700k2/igt@i915_module_load@reload-with-fault-injection.html * igt@i915_pm_rpm@module-reload: - fi-skl-6600u: [PASS][7] -> [DMESG-WARN][8] ([i915#889]) +23 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-skl-6600u/igt@i915_pm_rpm@module-reload.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-skl-6600u/igt@i915_pm_rpm@module-reload.html * igt@i915_selftest@live_blt: - fi-hsw-4770r: [PASS][9] -> [DMESG-FAIL][10] ([i915#553] / [i915#725]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-hsw-4770r/igt@i915_selftest@live_blt.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-hsw-4770r/igt@i915_selftest@live_blt.html * igt@i915_selftest@live_gt_lrc: - fi-skl-6600u: [PASS][11] -> [DMESG-FAIL][12] ([i915#889]) +7 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-skl-6600u/igt@i915_selftest@live_gt_lrc.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-skl-6600u/igt@i915_selftest@live_gt_lrc.html #### Possible fixes #### * igt@gem_exec_parallel@contexts: - fi-byt-n2820: [TIMEOUT][13] ([fdo#112271]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-byt-n2820/igt@gem_exec_parallel@contexts.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-byt-n2820/igt@gem_exec_parallel@contexts.html * igt@i915_module_load@reload-with-fault-injection: - fi-kbl-x1275: [INCOMPLETE][15] ([i915#879]) -> [PASS][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7814/fi-kbl-x1275/igt@i915_module_load@reload-with-fault-injection.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/fi-kbl-x1275/igt@i915_module_load@reload-with-fault-injection.html [fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271 [i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553 [i915#671]: https://gitlab.freedesktop.org/drm/intel/issues/671 [i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725 [i915#879]: https://gitlab.freedesktop.org/drm/intel/issues/879 [i915#889]: https://gitlab.freedesktop.org/drm/intel/issues/889 Participating hosts (44 -> 42) ------------------------------ Additional (5): fi-bdw-gvtdvm fi-kbl-7500u fi-blb-e6850 fi-snb-2600 fi-kbl-r Missing (7): fi-cml-u2 fi-tgl-u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5384 -> IGTPW_3997 CI-20190529: 20190529 CI_DRM_7814: bc626bbb5b6efa3fb6a90407e85a04ae64461db6 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3997: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/index.html IGT_5384: fd6896567f7d612c76207970376d4f1e634ded55 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Testlist changes == -igt@dumb_buffer@create-invalid-nonaligned -igt@dumb_buffer@create-valid-nonaligned == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3997/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-27 14:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-01-27 8:32 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Remove page nonaligned buffer tests Ramalingam C 2020-01-27 8:37 ` Chris Wilson 2020-01-27 14:00 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox