Re: [PATCH 1/2] drm/tests: Split drm_test_dp_mst_calc_pbn_mode into parameterized tests

From: Michał Winiarski
Date: Sun Sep 25 2022 - 22:38:23 EST


On Sun, Sep 25, 2022 at 07:27:18PM -0300, Maíra Canal wrote:
> 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@xxxxxxxxxx>

Reviewed-by: Michał Winiarski <michal.winiarski@xxxxxxxxx>

-Michał

> ---
> .../gpu/drm/tests/drm_dp_mst_helper_test.c | 77 +++++++++++++------
> 1 file changed, 53 insertions(+), 24 deletions(-)