Hi, have restarted work on getting tests in IGT to run on drivers other than i915. These changes make the modified tests pass in a Radxa Rock2 board by using dumb buffers as much as possible and having subtests skip if they require tiled BOs. The plan is for igt_create_bo_with_dimensions to be able to hide differences in the buffer creation API as much as possible. Thanks, Tomeu Changes in v2: - Rename is_intel to has_known_intel_chipset as suggested by Chris Wilson. - Rename dumb_create to kmstest_dumb_create as suggested by Daniel Vetter. - Add helper kmstest_dumb_map_buffer as suggested by Daniel Vetter - Add igt_dirty_fb - Call dirtyfb after the cairo context associated to a FB backed by a dumb buffer is destroyed. For this, I need to store the fd that was used when the FB was created. - Call kmstest_dumb_map_buffer instead of open coding it. - Call kmstest_dumb_create instead of dumb_create from igt_create_bo_with_dimensions. - Add missing gtkdoc to igt_create_bo_with_dimensions. - Try to use GEM API when a stride is passed Tomeu Vizoso (17): lib: Rename is_intel to has_known_intel_chipset lib: add igt_require_intel lib: Have gem_set_tiling require intel lib: Expose is_i915_device lib: Have intel_get_drm_devid call igt_require_intel lib: Call intel_get_drm_devid only from intel code lib: Add wrapper for DRM_IOCTL_MODE_CREATE_DUMB lib: Add helper kmstest_dumb_map_buffer lib: Add igt_dirty_fb lib: Map dumb buffers lib: Add igt_create_bo_with_dimensions tests: Open any driver kms_addfb_basic: call igt_create_bo_with_dimensions kms_addfb_basic: move tiling functionality into each subtest kms_addfb_basic: Split tiling_tests off kms_addfb_basic: Move calls to gem_set_tiling to the subtests kms_addfb_basic: Get intel gen from within subtest lib/drmtest.c | 17 ++++-- lib/drmtest.h | 4 ++ lib/igt_fb.c | 143 +++++++++++++++++++++++++++++++++++++----------- lib/igt_fb.h | 8 +++ lib/igt_kms.c | 54 +++++++++++++++++- lib/igt_kms.h | 6 ++ lib/intel_chipset.c | 2 + lib/ioctl_wrappers.c | 2 + tests/drm_read.c | 18 +----- tests/gem_exec_blt.c | 18 +----- tests/kms_addfb_basic.c | 121 +++++++++++++++++++++++++++++----------- tests/kms_atomic.c | 2 +- tests/kms_setmode.c | 2 +- tests/kms_vblank.c | 2 +- 14 files changed, 293 insertions(+), 106 deletions(-) -- 2.5.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx