From: Jakob Bornecrantz Date: Fri, 23 May 2008 14:55:30 +0000 (+0200) Subject: i915: Revert accidental change X-Git-Tag: 062012170305~17580^2~390^2~1514^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fbb61eedd4b07f07007a172cea227d5c363b908;p=profile%2Fivi%2Fmesa.git i915: Revert accidental change --- diff --git a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c index 62b43cc..6a42c79 100644 --- a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c +++ b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c @@ -120,7 +120,7 @@ intel_buffer_create(struct pipe_winsys *winsys, buffer->base.size = size; if (usage & (PIPE_BUFFER_USAGE_VERTEX | PIPE_BUFFER_USAGE_CONSTANT)) { - flags |= DRM_BO_FLAG_MEM_LOCAL; + flags |= DRM_BO_FLAG_MEM_LOCAL | DRM_BO_FLAG_CACHED; pool = iws->mallocPool; } else if (usage & PIPE_BUFFER_USAGE_CUSTOM) { /* For vertex buffers */