summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-09-08 20:51:02 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-09-09 00:43:35 +0100
commit3833587818cc40a3d0f09b430e5a0a475d5a7167 (patch)
tree088b21f9ddf7784ef0fa270f1a08fb6c35728fd2 /src/gallium
parent530fbd314e9d04db7f4e2a8f7d3a705393a6f9aa (diff)
downloadexternal_mesa3d-3833587818cc40a3d0f09b430e5a0a475d5a7167.zip
external_mesa3d-3833587818cc40a3d0f09b430e5a0a475d5a7167.tar.gz
external_mesa3d-3833587818cc40a3d0f09b430e5a0a475d5a7167.tar.bz2
i915g: Map vertex buffers via gtt
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c b/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
index e017cd2..e932f71 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c
@@ -28,6 +28,7 @@ intel_drm_buffer_create(struct intel_winsys *iws,
} else if (type == INTEL_NEW_VERTEX) {
name = "gallium3d_vertex";
pool = idws->pools.gem;
+ buf->map_gtt = TRUE;
} else if (type == INTEL_NEW_SCANOUT) {
name = "gallium3d_scanout";
pool = idws->pools.gem;