diff --git a/drivers/gpu/drm/amd/dkms/config/config.h b/drivers/gpu/drm/amd/dkms/config/config.h
index d0c6ce49766d6803df92e27a74c84125a267b622..02de965f3a62ceff9c152de6aecabe5d3e4108e0 100644
--- a/drivers/gpu/drm/amd/dkms/config/config.h
+++ b/drivers/gpu/drm/amd/dkms/config/config.h
@@ -61,7 +61,7 @@
 /* whether dma_fence_get_stub exits */
 #define HAVE_DMA_FENCE_GET_STUB 1
 
-/* fence_set_error() is available */
+/* dma_fence_set_error() is available */
 #define HAVE_DMA_FENCE_SET_ERROR 1
 
 /* dma_resv->seq is available */
@@ -194,7 +194,7 @@
 /* drm_connector_set_path_property() is available */
 #define HAVE_DRM_CONNECTOR_SET_PATH_PROPERTY 1
 
-/* struct drm_connector_state has hdcp_content_type */
+/* struct drm_connector_state has hdcp_content_type member */
 #define HAVE_DRM_CONNECTOR_STATE_HDCP_CONTENT_TYPE 1
 
 /* drm_connector_unreference() is available */
@@ -626,6 +626,9 @@
 /* kthread_{park/unpark/parkme/should_park}() is available */
 #define HAVE_KTHREAD_PARK_XX 1
 
+/* kthread_{use,unuse}_mm() is available */
+/* #undef HAVE_KTHREAD_USE_MM */
+
 /* ktime_get_boottime_ns() is available */
 #define HAVE_KTIME_GET_BOOTTIME_NS 1
 
@@ -674,6 +677,9 @@
 /* Define to 1 if you have the <linux/kfifo-new.h> header file. */
 /* #undef HAVE_LINUX_KFIFO_NEW_H */
 
+/* Define to 1 if you have the <linux/mem_encrypt.h> header file. */
+#define HAVE_LINUX_MEM_ENCRYPT_H 1
+
 /* Define to 1 if you have the <linux/nospec.h> header file. */
 #define HAVE_LINUX_NOSPEC_H 1
 
@@ -952,6 +958,3 @@
 
 /* Define to the version of this package. */
 #define PACKAGE_VERSION "19.40"
-
-/* Define to 1 if you have <linux/mem_encrypt.h> header file*/
-#define HAVE_LINUX_MEM_ENCRYPT_H 1