aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/amdgpu-si-cik-default.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-06-12 23:03:17 +0200
committerJan200101 <sentrycraft123@gmail.com>2024-06-12 23:04:02 +0200
commit4ccc9dfd8e38348d527d3704b87a680ba43756cd (patch)
tree2d72166c60df258cebe6160b5943624dceb8855d /SOURCES/amdgpu-si-cik-default.patch
parentd39b424f868921cd22fbfac392912a911c72bcf2 (diff)
downloadkernel-fsync-4ccc9dfd8e38348d527d3704b87a680ba43756cd.tar.gz
kernel-fsync-4ccc9dfd8e38348d527d3704b87a680ba43756cd.zip
kernel 6.9.4
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