[PATCH] drm/vkms: Fix an undefined reference error in vkms_composer_worker

zhong jiang zhongjiang at huawei.com
Mon Sep 23 01:21:11 UTC 2019

From: YueHaibing <yuehaibing at huawei.com>

I hit the following error when compile the kernel.

drivers/gpu/drm/vkms/vkms_composer.o: In function `vkms_composer_worker':
vkms_composer.c:(.text+0x5e4): undefined reference to `crc32_le'
make: *** [vmlinux] Error 1

Signed-off-by: YueHaibing <yuehaibing at huawei.com>
Signed-off-by: zhong jiang <zhongjiang at huawei.com>
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index e67c194..285d649 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -257,6 +257,7 @@ config DRM_VKMS
 	tristate "Virtual KMS (EXPERIMENTAL)"
 	depends on DRM
+	select CRC32
 	default n
 	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for

More information about the dri-devel mailing list