aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-09-08 20:51:02 +0100
committerJakob Bornecrantz <[email protected]>2009-09-09 00:43:35 +0100
commit3833587818cc40a3d0f09b430e5a0a475d5a7167 (patch)
tree088b21f9ddf7784ef0fa270f1a08fb6c35728fd2 /src/gallium
parent530fbd314e9d04db7f4e2a8f7d3a705393a6f9aa (diff)
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 e017cd2e982..e932f71e42c 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;