From: Jakob Bornecrantz Date: Tue, 8 Sep 2009 19:51:02 +0000 (+0100) Subject: i915g: Map vertex buffers via gtt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3833587818cc40a3d0f09b430e5a0a475d5a7167;p=mesa.git i915g: Map vertex buffers via gtt --- 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;