xf86-video-intel: Branch 'modesetting-gem' - src/i830_memory.c

Jesse Barnes jbarnes at kemper.freedesktop.org
Sat Aug 16 12:18:32 PDT 2008


 src/i830_memory.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b8ee31cd80a945d1fbbfc45234ffe34a109b5717
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Sat Aug 16 12:18:01 2008 -0700

    Remove last TTM bits
    
    Makes it build again with drm#modesetting-gem.

diff --git a/src/i830_memory.c b/src/i830_memory.c
index d14d86f..4128494 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;
 }


More information about the xorg-commit mailing list