From 6e95905f759b844373be62ec513c78153ed00222 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Mon, 15 Feb 2010 17:02:16 +0100 Subject: Allocate BOs for 'video offscreen surfaces' and 'TV-in' in VRAM. I think these can only really work in VRAM, though right now there's probably nothing to prevent them from getting evicted... --- src/radeon_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/radeon_video.c b/src/radeon_video.c index 92f65a6e..335cac66 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -2950,7 +2950,7 @@ RADEONPutImage( pPriv->video_offset = radeon_legacy_allocate_memory(pScrn, &pPriv->video_memory, (pPriv->doubleBuffer ? (new_size * 2) : new_size), 64, - RADEON_GEM_DOMAIN_GTT); + RADEON_GEM_DOMAIN_VRAM); if (pPriv->video_offset == 0) return BadAlloc; @@ -3181,7 +3181,7 @@ RADEONAllocateSurface( size = pitch * h; offset = radeon_legacy_allocate_memory(pScrn, &surface_memory, size, 64, - RADEON_GEM_DOMAIN_GTT); + RADEON_GEM_DOMAIN_VRAM); if (offset == 0) return BadAlloc; -- cgit v1.2.3