diff options
author | Brian Starkey <rodrigosiqueiramelo@gmail.com> | 2020-08-30 13:44:08 -0400 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2020-09-04 14:51:17 +0300 |
commit | 150948b9fdac87135b04f767bfa0617ff0bb1f84 (patch) | |
tree | 07bf64853163b17049b7ba8a36b137bf4e8edf2c /tests/meson.build | |
parent | 3642acbb74f562435b8d7455a5467d869d331350 (diff) |
kms_writeback: Add initial writeback tests
Add tests for the WRITEBACK_PIXEL_FORMATS, WRITEBACK_OUT_FENCE_PTR and
WRITEBACK_FB_ID properties on writeback connectors, ensuring their
behaviour is correct.
Changes since V8:
* Remove unnecessary fence cleanup on prepare commit.
Changes since V7 (Maxime Ripard and Petri Latvala):
* Utilizes `to_user_pointer` to avoid cast compilation error on ARM 32
bits.
Changes since V6 (Simon Ser):
* Add igt_describe per sub-test
* Remove kmstest_force_connector from kms_writeback_get_output, since
userspace will not do this sort of operation
* Add an igt_debug statement in case we don't use a specific writeback
connector
* Drop flag parameter from do_writeback_test
* Rename invalid_out_fence to test_invalid_parameters
* Drop invalid_fb from writeback_fb_id
* Assert if plane is null on igt_fixture
* Replace all occurrences of igt_fb_mod_to_tiling(0) by
DRM_FORMAT_MOD_LINEAR
* Rename invalid_fb to invalid_output_fb in the sub-test related to
"writeback-invalid-out-fence"
* Replace ret by fb_id in igt_main
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Brian Starkey <brian.starkey@arm.com>
[rebased and updated do_writeback_test() function to address feedback]
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index 684de043..5eb2d2fc 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -73,6 +73,7 @@ test_progs = [ 'kms_universal_plane', 'kms_vblank', 'kms_vrr', + 'kms_writeback', 'meta_test', 'panfrost_get_param', 'panfrost_gem_new', |