From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Export ability of changing cache levels to userspace Date: Wed, 18 Jul 2012 20:06:51 +0200 Message-ID: <20120718180651.GK5348@phenom.ffwll.local> References: <1341910859_237091@CP5-2952> <1341912428-18628-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 6B0349E85E for ; Wed, 18 Jul 2012 11:06:46 -0700 (PDT) Received: by wibhm11 with SMTP id hm11so1185139wib.12 for ; Wed, 18 Jul 2012 11:06:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1341912428-18628-1-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Jul 10, 2012 at 10:27:08AM +0100, Chris Wilson wrote: > By selecting the cache level (essentially whether or not the CPU snoops > any updates to the bo, and on more recent machines whether it resides > inside the CPU's last-level-cache) a userspace driver is able to then > manage all of its memory within buffer objects, if it so desires. This > enables the userspace driver to accelerate uploads and more importantly > downloads from the GPU and to able to mix CPU and GPU rendering/activity > efficiently. > > Signed-off-by: Chris Wilson I've merged the interface header bits of this patch to reserve the ioctl number. I'd like to play around some more with the implementation and merge it in about a week for 3.7. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48