From: Damien Lespiau Subject: Re: [PATCH 1/4] drm/i915 Update Gen8 golden context batch buffer Date: Thu, 23 Oct 2014 17:40:47 +0100 Message-ID: <20141023164047.GB19368@strange.amr.corp.intel.com> References: <1414078470-25647-1-git-send-email-armin.c.reese@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B5666E035 for ; Thu, 23 Oct 2014 09:40:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1414078470-25647-1-git-send-email-armin.c.reese@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: armin.c.reese@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Oct 23, 2014 at 08:34:27AM -0700, armin.c.reese@intel.com wrote: > From: Armin Reese > > The file drivers/gpu/drm/i915/intel_renderstate_gen8.c is > updated to the version created by IGT null_state_gen > > Signed-off-by: Armin Reese For the first 3 patches: Reviewed-by: Damien Lespiau For the last patch, I'm really not convinced about reusing i915_context_status(), I'd re-use i915_dump_lrc() instead. The reason is that _status() seems to be about having a short summary of all context images around, while dump_lrc() dumps content (only one page for now, but that could be changed). Also why the drm_clflush_pages()? CPU shouldn't access those pages past the initial init. -- Damien