[PATCH v4 09/10] drm/xe/kunit: Enable CONFIG_LOCKDEP in tests

Lucas De Marchi lucas.demarchi at intel.com
Fri Dec 15 22:06:51 UTC 2023


On Fri, Dec 15, 2023 at 05:25:01PM +0100, Michal Wajdeczko wrote:
>Tests might use locking, better to have LOCKDEP enabled.
>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>


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

Lucas De Marchi

>---
> drivers/gpu/drm/xe/.kunitconfig | 5 +++++
> 1 file changed, 5 insertions(+)
>
>diff --git a/drivers/gpu/drm/xe/.kunitconfig b/drivers/gpu/drm/xe/.kunitconfig
>index 9590eac91af3..ad4b9b4a9f55 100644
>--- a/drivers/gpu/drm/xe/.kunitconfig
>+++ b/drivers/gpu/drm/xe/.kunitconfig
>@@ -11,3 +11,8 @@ CONFIG_DRM_XE_DISPLAY=n
> CONFIG_EXPERT=y
> CONFIG_FB=y
> CONFIG_DRM_XE_KUNIT_TEST=y
>+CONFIG_LOCK_DEBUGGING_SUPPORT=y
>+CONFIG_PROVE_LOCKING=y
>+CONFIG_DEBUG_MUTEXES=y
>+CONFIG_LOCKDEP=y
>+CONFIG_DEBUG_LOCKDEP=y
>-- 
>2.25.1
>


More information about the Intel-xe mailing list