drm/tests: Split drm_test_dp_mst_calc_pbn_mode into parameterized tests
authorMaíra Canal <mcanal@igalia.com>
Sat, 1 Oct 2022 22:34:21 +0000 (19:34 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Sun, 16 Oct 2022 17:47:53 +0000 (14:47 -0300)
commitd32f7960fb9370b9756f1668a7093a7afdaef72c
tree4ffe4e73d730db717c54806cdcc683bb5a4c70ad
parent202fb33be38c98f7bc9f0fa370cd13d189b4f9d8
drm/tests: Split drm_test_dp_mst_calc_pbn_mode into parameterized tests

The drm_test_dp_mst_calc_pbn_mode is based on a loop that executes tests
for a couple of test cases. This could be better represented by
parameterized tests, provided by KUnit.

So, convert the drm_test_dp_mst_calc_pbn_mode into parameterized tests.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20221001223422.857505-1-mcanal@igalia.com
drivers/gpu/drm/tests/drm_dp_mst_helper_test.c