summaryrefslogtreecommitdiff
path: root/src/radeon_legacy_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_legacy_memory.c')
-rw-r--r--src/radeon_legacy_memory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_legacy_memory.c b/src/radeon_legacy_memory.c
index 02b95edc..bdf8ca26 100644
--- a/src/radeon_legacy_memory.c
+++ b/src/radeon_legacy_memory.c
@@ -15,7 +15,8 @@ uint32_t
radeon_legacy_allocate_memory(ScrnInfoPtr pScrn,
void **mem_struct,
int size,
- int align)
+ int align,
+ int domain)
{
ScreenPtr pScreen = screenInfo.screens[pScrn->scrnIndex];
RADEONInfoPtr info = RADEONPTR(pScrn);
@@ -25,7 +26,7 @@ radeon_legacy_allocate_memory(ScrnInfoPtr pScrn,
if (info->cs) {
struct radeon_bo *video_bo;
- video_bo = radeon_bo_open(info->bufmgr, 0, size, 4096, 0, 0);
+ video_bo = radeon_bo_open(info->bufmgr, 0, size, 4096, domain, 0);
*mem_struct = video_bo;