summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-18 13:32:44 -0800
committerEric Anholt <eric@anholt.net>2009-02-21 10:03:22 -0800
commit0621ba12a3b694720e67a49b25ca52f0e09b3802 (patch)
treee3f2269ef4e1382ea6fd4a811ba58ee1926763cb /src
parent5018d0f16cb8b44c743b5b37d194fe806d955568 (diff)
uxa: Ask for BOs ready for rendering for pixmaps.
The assumption is that we're almost always accelerating our drawing to new pixmaps (fill, copy, etc.).
Diffstat (limited to 'src')
-rw-r--r--src/i830_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c
index ebc6624c..b8784026 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -900,7 +900,7 @@ i830_uxa_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usag
*/
size = i830_get_fence_size(i830, stride * h);
- bo = dri_bo_alloc (i830->bufmgr, "pixmap", size, 0);
+ bo = drm_intel_bo_alloc_for_render(i830->bufmgr, "pixmap", size, 0);
if (!bo) {
fbDestroyPixmap (pixmap);
return NullPixmap;