drm/tests: Build KMS helpers when DRM_KUNIT_TEST_HELPERS is enabled
authorKarolina Stolarek <karolina.stolarek@intel.com>
Wed, 13 Mar 2024 14:21:42 +0000 (15:21 +0100)
committerMaxime Ripard <mripard@kernel.org>
Fri, 15 Mar 2024 09:31:09 +0000 (10:31 +0100)
commitf1a785101d50f5844ed29341142e7224b87f705d
treea87d4476aa1bd61b5f57aa5f9450923f4bfcc421
parent6d5501d59cf659651e100fc4c5617d444c22ba74
drm/tests: Build KMS helpers when DRM_KUNIT_TEST_HELPERS is enabled

Commit 66671944e176 ("drm/tests: helpers: Add atomic helpers")
introduced a dependency on CRTC helpers in KUnit test helpers.
Select the former when building KUnit test helpers to avoid
linker errors.

Fixes: 66671944e176 ("drm/tests: helpers: Add atomic helpers")
Cc: Maxime Ripard <mripard@kernel.org>
Cc: MaĆ­ra Canal <mcanal@igalia.com>
Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
Link: https://lore.kernel.org/r/20240313142142.1318718-1-karolina.stolarek@intel.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/Kconfig