summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-16 12:18:01 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-16 12:18:01 -0700
commitb8ee31cd80a945d1fbbfc45234ffe34a109b5717 (patch)
tree4b19ef65d7b5a7c4f0c5200ba693f623a0dda37f
parentc1687f9ca9ce7b52043272e877e070c810e6599f (diff)
Remove last TTM bits
Makes it build again with drm#modesetting-gem.
-rw-r--r--src/i830_memory.c3
1 files changed, 1 insertions, 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;
}