Commit 9845ed27 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Paul Mackerras

[PATCH] 440GX AGP update

I don't have a 440GX to test here, but I think the patch below is likely
to fix the problem.

I see some other issues in intel-agp.c.  I'll send those separately since
the diff is a little larger and should affect only i810 and i830.
parent 10d43ec6
...@@ -157,7 +157,7 @@ agp_memory *agp_allocate_memory(size_t page_count, u32 type) ...@@ -157,7 +157,7 @@ agp_memory *agp_allocate_memory(size_t page_count, u32 type)
agp_free_memory(new); agp_free_memory(new);
return NULL; return NULL;
} }
new->memory[i] = virt_to_phys((void *) new->memory[i]); new->memory[i] = virt_to_phys(addr);
new->page_count++; new->page_count++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment