i915g: Map vertex buffers via gtt
authorJakob Bornecrantz <wallbraker@gmail.com>
Tue, 8 Sep 2009 19:51:02 +0000 (20:51 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 8 Sep 2009 23:43:35 +0000 (00:43 +0100)
src/gallium/winsys/drm/intel/gem/intel_drm_buffer.c

index e017cd2e982a8def787cf01d281ad1b0832543bd..e932f71e42ca7e9e99b91d354ce890f9e6083ccc 100644 (file)
@@ -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;