diff options
author | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:30:21 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:30:21 +1000 |
commit | 241a9b64141b2dd09449e581017b5ca0c0cc2357 (patch) | |
tree | 5d7b643a11519c2a512e1442023337baab02ed32 /linux-core/radeon_gem.c | |
parent | 994f2405030f7f595c4ec6bee524f7c06f27cd7b (diff) |
drm/radeon: add uncached allocator to drm ttm code.
Diffstat (limited to 'linux-core/radeon_gem.c')
-rw-r--r-- | linux-core/radeon_gem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/radeon_gem.c b/linux-core/radeon_gem.c index 85185232..f338e64c 100644 --- a/linux-core/radeon_gem.c +++ b/linux-core/radeon_gem.c @@ -966,6 +966,9 @@ int radeon_gem_mm_init(struct drm_device *dev) /* init TTM underneath */ drm_bo_driver_init(dev); + /* use the uncached allocator */ + dev->bm.allocator_type = _DRM_BM_ALLOCATOR_UNCACHED; + /* size the mappable VRAM memory for now */ radeon_vram_setup(dev); |