[PATCH 09/13] drm: remove i915 selftest config check

Arunpravin Arunpravin.PaneerSelvam at amd.com
Tue Oct 19 22:54:05 UTC 2021


i915 buddy selftests will be moved to drm selftest folder,
hence the config condition check may be removed.

Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam at amd.com>
---
 drivers/gpu/drm/drm_buddy.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/drm_buddy.c b/drivers/gpu/drm/drm_buddy.c
index 5eb7c4187009..e7a5d6d47a37 100644
--- a/drivers/gpu/drm/drm_buddy.c
+++ b/drivers/gpu/drm/drm_buddy.c
@@ -689,10 +689,6 @@ void drm_buddy_print(struct drm_buddy_mm *mm, struct drm_printer *p)
 }
 EXPORT_SYMBOL(drm_buddy_print);
 
-#if IS_ENABLED(CONFIG_DRM_I915_SELFTEST)
-#include "selftests/i915_buddy.c"
-#endif
-
 void drm_buddy_module_exit(void)
 {
 	kmem_cache_destroy(slab_blocks);
-- 
2.25.1



More information about the amd-gfx mailing list