i915g: Map vertex buffers via gtt
[mesa.git] / 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;