aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/amdgpu-si-cik-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/amdgpu-si-cik-default.patch')
-rw-r--r--SOURCES/amdgpu-si-cik-default.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/SOURCES/amdgpu-si-cik-default.patch b/SOURCES/amdgpu-si-cik-default.patch
index d2d3178..ec3735d 100644
--- a/SOURCES/amdgpu-si-cik-default.patch
+++ b/SOURCES/amdgpu-si-cik-default.patch
@@ -13,32 +13,32 @@ diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgp
index 81edf66dbea8..5021d03089ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
-@@ -582,13 +582,8 @@ module_param_named(timeout_period, amdgpu_watchdog_timer.period, uint, 0644);
+@@ -595,13 +595,8 @@
*/
#ifdef CONFIG_DRM_AMDGPU_SI
-
+
-#if IS_ENABLED(CONFIG_DRM_RADEON) || IS_ENABLED(CONFIG_DRM_RADEON_MODULE)
--int amdgpu_si_support = 0;
+-int amdgpu_si_support;
-MODULE_PARM_DESC(si_support, "SI support (1 = enabled, 0 = disabled (default))");
-#else
int amdgpu_si_support = 1;
MODULE_PARM_DESC(si_support, "SI support (1 = enabled (default), 0 = disabled)");
-#endif
-
+
module_param_named(si_support, amdgpu_si_support, int, 0444);
#endif
-@@ -601,13 +596,8 @@ module_param_named(si_support, amdgpu_si_support, int, 0444);
+@@ -614,13 +609,8 @@
*/
#ifdef CONFIG_DRM_AMDGPU_CIK
-
+
-#if IS_ENABLED(CONFIG_DRM_RADEON) || IS_ENABLED(CONFIG_DRM_RADEON_MODULE)
--int amdgpu_cik_support = 0;
+-int amdgpu_cik_support;
-MODULE_PARM_DESC(cik_support, "CIK support (1 = enabled, 0 = disabled (default))");
-#else
int amdgpu_cik_support = 1;
MODULE_PARM_DESC(cik_support, "CIK support (1 = enabled (default), 0 = disabled)");
-#endif
-
+
module_param_named(cik_support, amdgpu_cik_support, int, 0444);
#endif
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c