[PATCH 2/2] drm/xe/tests: Convert xe_pci tests to parametrized tests

Lucas De Marchi lucas.demarchi at intel.com
Fri Jun 13 20:02:18 UTC 2025


On Fri, Jun 13, 2025 at 09:19:38PM +0200, Michal Wajdeczko wrote:
>Instead of looping over known IP descriptors within single test
>case, without any diagnostics which IP descriptor is eventually
>broken, define kunit parameter generators with IP descriptors,
>and make existing xe_pci tests fully parametrized:
>
> [ ] =================== xe_pci (2 subtests) ====================
> [ ] ==================== check_graphics_ip  ====================
> [ ] [PASSED] 12.70 Xe_LPG
> [ ] [PASSED] 12.71 Xe_LPG
> [ ] [PASSED] 12.74 Xe_LPG+
> [ ] [PASSED] 20.01 Xe2_HPG
> [ ] [PASSED] 20.04 Xe2_LPG
> [ ] [PASSED] 30.00 Xe3_LPG
> [ ] [PASSED] 30.01 Xe3_LPG
> [ ] ================ [PASSED] check_graphics_ip ================
> [ ] ===================== check_media_ip  ======================
> [ ] [PASSED] 13.00 Xe_LPM+
> [ ] [PASSED] 13.01 Xe2_HPM
> [ ] [PASSED] 20.00 Xe2_LPM
> [ ] [PASSED] 30.00 Xe3_LPM
> [ ] ================= [PASSED] check_media_ip ==================
> [ ] ===================== [PASSED] xe_pci ======================

much better, indeed.


>
>Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Cc: Matt Roper <matthew.d.roper at intel.com>

Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

thanks
Lucas De Marchi


More information about the Intel-xe mailing list