OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6238cf
)
Bug 6209: [mach64] AGP DMA buffers not mapped correctly.
author
George Sapountzis
<gsap7@yahoo.gr>
Sat, 15 Jul 2006 22:02:06 +0000
(
01:02
+0300)
committer
George Sapountzis
<gsap7@yahoo.gr>
Mon, 2 Oct 2006 19:46:54 +0000
(22:46 +0300)
Map the DMA buffers from the same linear address as the vertex bufs. If
dev->agp_buffer_token is not set, mach64 drm maps the DMA buffers from
linear address 0x0.
shared-core/mach64_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/mach64_dma.c
b/shared-core/mach64_dma.c
index
4c8edea
..
36fddf0
100644
(file)
--- a/
shared-core/mach64_dma.c
+++ b/
shared-core/mach64_dma.c
@@
-834,6
+834,7
@@
static int mach64_do_dma_init(drm_device_t * dev, drm_mach64_init_t * init)
mach64_do_cleanup_dma(dev);
return DRM_ERR(ENOMEM);
}
+ dev->agp_buffer_token = init->buffers_offset;
dev->agp_buffer_map =
drm_core_findmap(dev, init->buffers_offset);
if (!dev->agp_buffer_map) {