[PATCH] drm/xe/kunitconfig: enable drm kunit tests

Matthew Auld matthew.auld at intel.com
Thu Feb 29 10:42:43 UTC 2024


On 29/02/2024 10:39, Matthew Auld wrote:
> This ensures we run the kunit tests for components like drm_buddy,
> drm_mm etc which we make use of. The slow drm kunit subtests look to
> have been purged, so extra runtime should be minimal.
> 
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>

Please ignore this, just noticed there is drm/tests/.kunitconfig which 
should do the same thing.

> ---
>   drivers/gpu/drm/xe/.kunitconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/xe/.kunitconfig b/drivers/gpu/drm/xe/.kunitconfig
> index ad4b9b4a9f55..604e59b61338 100644
> --- a/drivers/gpu/drm/xe/.kunitconfig
> +++ b/drivers/gpu/drm/xe/.kunitconfig
> @@ -4,6 +4,7 @@ CONFIG_PCI=y
>   CONFIG_PCI_IOV=y
>   CONFIG_DEBUG_FS=y
>   CONFIG_DRM=y
> +CONFIG_DRM_KUNIT_TEST=y
>   CONFIG_DRM_FBDEV_EMULATION=y
>   CONFIG_DRM_KMS_HELPER=y
>   CONFIG_DRM_XE=y


More information about the Intel-xe mailing list