From b8ee31cd80a945d1fbbfc45234ffe34a109b5717 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Sat, 16 Aug 2008 12:18:01 -0700 Subject: [PATCH] Remove last TTM bits Makes it build again with drm#modesetting-gem. --- src/i830_memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/i830_memory.c b/src/i830_memory.c index d14d86f7..41284940 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1030,7 +1030,6 @@ i830_allocate_overlay(ScrnInfoPtr pScrn) { I830Ptr pI830 = I830PTR(pScrn); int flags = 0; - int mem_space = DRM_BO_FLAG_MEM_TT; /* Only allocate if overlay is going to be enabled. */ if (!pI830->XvEnabled) @@ -1053,7 +1052,7 @@ i830_allocate_overlay(ScrnInfoPtr pScrn) if (flags & NEED_PHYSICAL_ADDR) if (pI830->use_drm_mode) - mem_space = DRM_BO_FLAG_MEM_VRAM; + ; /* need physical addr */ return TRUE; }