From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH] [RFC] drm/i915: read-read semaphore optimization Date: Tue, 13 Dec 2011 14:49:49 -0800 Message-ID: <4EE7D68D.1090803@bwidawsk.net> References: <1323748328-10153-1-git-send-email-ben@bwidawsk.net> <20111213160133.GA4125@phenom.ffwll.local> <86k460ig3j.fsf@sumi.keithp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 21E8B9EB19 for ; Tue, 13 Dec 2011 14:50:00 -0800 (PST) In-Reply-To: <86k460ig3j.fsf@sumi.keithp.com> 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: Keith Packard Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 12/13/2011 08:36 AM, Keith Packard wrote: > On Tue, 13 Dec 2011 17:01:33 +0100, Daniel Vetter wrote: > >> - or remove it all and invalidate/flush unconditionally. > > Eric and I were chatting yesterday about trying this -- it seems like > we'd be able to dramatically simplify the kernel module by doing this, > and given how much flushing already occurs, I doubt we'd see any > significant performance difference, and we'd save a pile of CPU time, > which might actually improve performance. Would we want to keep domain tracking if the HW worked correctly and we didn't have to always flush. It seems like a shame to just gut the code if it actually could offer a benefit on future generations. I know Daniel has the same idea about gutting it... Ben