From 356fa50968a82333a79814d571a501cc83867d4e Mon Sep 17 00:00:00 2001
From: Flora Cui <flora.cui@amd.com>
Date: Tue, 13 Oct 2020 08:59:20 +0800
Subject: [PATCH] drm/amdkcl: re-generate config.h

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
---
 drivers/gpu/drm/amd/dkms/config/config.h | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/dkms/config/config.h b/drivers/gpu/drm/amd/dkms/config/config.h
index d0c6ce49766d6..02de965f3a62c 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
-- 
GitLab