diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-02-15 17:02:16 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-02-15 17:10:06 +0100 |
commit | 6e95905f759b844373be62ec513c78153ed00222 (patch) | |
tree | 695eae582595138090dc1f93cc169cada403da0d /src | |
parent | 78e7047c5235b09858b66dd3688d39aaa27d7589 (diff) |
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...
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_video.c | 4 |
1 files 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; |