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

Michał Winiarski michal.winiarski at intel.com
Mon Sep 26 02:37:31 UTC 2022


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 at igalia.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

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


More information about the dri-devel mailing list