- new patches
authorsparky <sparky@pld-linux.org>
Sat, 12 Mar 2005 11:45:03 +0000 (11:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    NVIDIA_kernel-1.0-7167-1233959.diff -> 1.1
    NVIDIA_kernel-1.0-7167-1237815.diff -> 1.1

NVIDIA_kernel-1.0-7167-1233959.diff [new file with mode: 0644]
NVIDIA_kernel-1.0-7167-1237815.diff [new file with mode: 0644]

diff --git a/NVIDIA_kernel-1.0-7167-1233959.diff b/NVIDIA_kernel-1.0-7167-1233959.diff
new file mode 100644 (file)
index 0000000..f85b7b1
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ru usr/src/nv/os-agp.c usr/src/nv.1233959/os-agp.c
+--- usr/src/nv/os-agp.c        2005-02-25 18:37:02.000000000 +0100
++++ usr/src/nv.1233959/os-agp.c        2005-03-07 20:57:17.235559352 +0100
+@@ -176,7 +176,7 @@
+     rm_read_registry_dword(NULL, "NVreg", "EnableAGPFW", &enable_fw);
+     agp_mode |= NV_AGPGART_MODE_BITS_SBA(enable_fw);
+-    agp_info.mode &= agp_mode;
++    agp_info.mode &= (0xff000000 | agp_mode);
+     NV_AGPGART_BACKEND_ENABLE(drm_agp_p, nvl->agp_bridge, agp_info.mode);
diff --git a/NVIDIA_kernel-1.0-7167-1237815.diff b/NVIDIA_kernel-1.0-7167-1237815.diff
new file mode 100644 (file)
index 0000000..3808879
--- /dev/null
@@ -0,0 +1,29 @@
+diff -ru usr/src/nv/nv.c usr/src/nv.1237815/nv.c
+--- usr/src/nv/nv.c    2005-02-25 18:37:02.000000000 +0100
++++ usr/src/nv.1237815/nv.c    2005-03-11 17:29:49.034335416 +0100
+@@ -3071,14 +3071,15 @@
+             nv_printf(NV_DBG_WARNINGS, "NVRM: not using NVAGP, AGPGART is loaded!\n");
+             return status;
+         }
+-#elif defined(NV_MULTIPLE_BRIDGE_AGPGART_PRESENT)
++#elif defined(AGPGART)
++#if defined(NV_MULTIPLE_BRIDGE_AGPGART_PRESENT)
+         if (!list_empty(&agp_bridges))
+         {
+             nv_printf(NV_DBG_WARNINGS,
+                       "NVRM: not using NVAGP, an AGPGART backend is loaded!\n");
+             return status;
+         }
+-#elif defined(AGPGART)
++#else /* NV_MULTIPLE_BRIDGE_AGPGART_PRESENT */
+         int error;
+         /*
+          * We can only safely use NvAGP when no backend has been
+@@ -3096,6 +3097,7 @@
+             return status;
+         }
+ #endif
++#endif /* AGPGART  */
+ #if defined(CONFIG_X86_64) && defined(CONFIG_GART_IOMMU)
+         nv_printf(NV_DBG_WARNINGS,
+             "NVRM: not using NVAGP, kernel was compiled with GART_IOMMU support!!\n");
This page took 0.064667 seconds and 4 git commands to generate.