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:
03ce98a
)
radeon: PCIGART memory is Can't map aperture as well there is one
author
Dave Airlie
<airlied@nx6125b.(none)>
Thu, 7 Jun 2007 05:36:04 +0000
(15:36 +1000)
committer
Dave Airlie
<airlied@nx6125b.(none)>
Thu, 7 Jun 2007 05:37:03 +0000
(15:37 +1000)
on the CPU.... with this my indirect buffers at least start to live..
(cherry picked from commit
699cd9fc6c3794856f7e602088c77d0dfc11a122
)
linux-core/radeon_buffer.c
patch
|
blob
|
history
diff --git
a/linux-core/radeon_buffer.c
b/linux-core/radeon_buffer.c
index
159e87e
..
67e6c58
100644
(file)
--- a/
linux-core/radeon_buffer.c
+++ b/
linux-core/radeon_buffer.c
@@
-104,7
+104,7
@@
int radeon_init_mem_type(drm_device_t * dev, uint32_t type,
man->io_offset = dev_priv->gart_vm_start;
man->io_size = dev_priv->gart_size;
man->io_addr = NULL;
- man->flags = _DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_MEMTYPE_MAPPABLE;
+ man->flags = _DRM_FLAG_MEMTYPE_CSELECT | _DRM_FLAG_MEMTYPE_MAPPABLE
| _DRM_FLAG_MEMTYPE_CMA
;
man->drm_bus_maptype = _DRM_SCATTER_GATHER;
}
break;