File testgart-offset.diff of Package testgart
Files testgart/testgart and testgart-hack/testgart differ
diff -burpN testgart/testgart.c testgart-hack/testgart.c
--- testgart/testgart.c 2002-10-30 13:03:55.000000000 +0100
+++ testgart-hack/testgart.c 2004-05-11 12:36:15.273674656 +0200
@@ -281,8 +281,8 @@ void BenchMark()
unbind_gart(0);
unbind_gart(1);
- bind_gart(0, 0);
- bind_gart(1, 1024);
+ bind_gart(0, 2048);
+ bind_gart(1, 2048 + 1024);
worked = 1;
printf("Testing data integrity (2nd pass): ");
@@ -321,8 +321,8 @@ int main()
init_agp();
- key = insert_gart(0, 1024);
- key2 = insert_gart(1024, 1024);
+ key = insert_gart(2048, 1024);
+ key2 = insert_gart(2048 + 1024, 1024);
#ifdef DEBUG
printf("Using AGPIOC_INFO\n");