From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: simplify ppgtt setup Date: Tue, 10 Apr 2012 16:33:38 +0100 Message-ID: <1334072020_347922@CP5-2952> References: <1334070641_347601@CP5-2952> <1334071757-16236-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 114FE9E7D5 for ; Tue, 10 Apr 2012 08:33:49 -0700 (PDT) In-Reply-To: <1334071757-16236-1-git-send-email-daniel.vetter@ffwll.ch> 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: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Tue, 10 Apr 2012 17:29:17 +0200, daniel.vetter@ffwll.ch wrote: > From: Daniel Vetter > > We don't need the pt_addr for the !dmar case, so drop the else and > move the if (dmar) condition out of the loop. > > v2: Fixup whitespace damage noticed by Chris Wilson. > > v3: Collapse the two identical if blocks. Chris Wilson makes me look > like a moron right now ... > > Noticed-by: Konstantin Belousov > Signed-Off-by: Daniel Vetter Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre