From: Daniel Vetter Subject: Re: [PATCH 2/3] drm/i915: consolidate swizzling control bit frobbing Date: Wed, 8 Feb 2012 23:19:03 +0100 Message-ID: <20120208221903.GB22687@phenom.ffwll.local> References: <1328024876-5240-1-git-send-email-daniel.vetter@ffwll.ch> <1328024876-5240-2-git-send-email-daniel.vetter@ffwll.ch> <4F32F464.1060806@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 361AAA08B0 for ; Wed, 8 Feb 2012 14:18:53 -0800 (PST) Received: by wico1 with SMTP id o1so870342wic.36 for ; Wed, 08 Feb 2012 14:18:53 -0800 (PST) Content-Disposition: inline In-Reply-To: <4F32F464.1060806@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: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, Feb 08, 2012 at 11:17:08PM +0100, Ben Widawsky wrote: > On 01/31/2012 04:47 PM, Daniel Vetter wrote: > > On gen5 we also need to correctly set up swizzling in the display > > scanout engine, but only there. Consolidate this into the same > > function. > > > > This has a small effect on ums setups - the kernel now also sets this > > bit in addition to userspace setting it. Given that this code only > > runs when userspace either can't (resume, gpu reset) or explicitly > > won't(gem_init) touch the hw this shouldn't have an adverse effect. > > > > Signed-Off-by: Daniel Vetter > Reviewed-by: Ben Widawsky Queued for -next, thanks for the review. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48