From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH v3] drm/i915: Added write-enable pte bit support Date: Tue, 13 May 2014 15:05:24 -0700 Message-ID: <20140513150524.4050090c@jbarnes-desktop> References: <1392108543-31552-1-git-send-email-akash.goel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from gproxy3-pub.mail.unifiedlayer.com (gproxy3-pub.mail.unifiedlayer.com [69.89.30.42]) by gabe.freedesktop.org (Postfix) with SMTP id 0FB966E25E for ; Tue, 13 May 2014 15:05:23 -0700 (PDT) In-Reply-To: <1392108543-31552-1-git-send-email-akash.goel@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: akash.goel@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, 11 Feb 2014 14:19:03 +0530 akash.goel@intel.com wrote: > @@ -810,6 +815,7 @@ static void gen6_ppgtt_insert_entries(struct i915_address_space *vm, > pt_vaddr[act_pte] = > vm->pte_encode(sg_page_iter_dma_address(&sg_iter), > cache_level, true); > + > if (++act_pte == I915_PPGTT_PT_ENTRIES) { > kunmap_atomic(pt_vaddr); > pt_vaddr = NULL; Some extra whitespace here. Otherwise: Reviewed-by: Jesse Barnes Might be good to expose this as a param too, so userspace could use it for stuff that shouldn't be written... -- Jesse Barnes, Intel Open Source Technology Center