From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Expose LLC size to user space Date: Wed, 10 Jul 2013 09:59:01 +0100 Message-ID: <20130710085901.GJ14388@cantiga.alporthouse.com> References: <1373425083-1276-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (unknown [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 621ADE5BFD for ; Wed, 10 Jul 2013 01:59:08 -0700 (PDT) Received: from fireflyinternet.com (unverified [87.106.93.118]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP id 129487116-1500050 for ; Wed, 10 Jul 2013 09:59:05 +0100 Content-Disposition: inline In-Reply-To: <1373425083-1276-1-git-send-email-ben@bwidawsk.net> 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: Ben Widawsky Cc: Intel GFX , Bryan Bell List-Id: intel-gfx@lists.freedesktop.org On Tue, Jul 09, 2013 at 07:58:02PM -0700, Ben Widawsky wrote: > The algorithm/information was originally written by Chad, though I > changed the control flow, and I think his original code had a couple of > bugs, though I didn't look very hard before rewriting. That could have > also been different interpretations of the spec. Just a cpuid query that can already be done more simply from userspace (i.e. with no syscalls)? I was expecting a lot more magic. -Chris -- Chris Wilson, Intel Open Source Technology Centre