From: Damien Lespiau Subject: Re: [PATCH] drm/i915/bdw: BDW swizzling in done by the memory controller Date: Fri, 11 Apr 2014 12:10:33 +0100 Message-ID: <20140411111033.GA25103@strange.amr.corp.intel.com> References: <1397147048-23151-1-git-send-email-damien.lespiau@intel.com> <1397147048-23151-2-git-send-email-damien.lespiau@intel.com> <20140411090903.GA9262@phenom.ffwll.local> 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 11B6D6ED84 for ; Fri, 11 Apr 2014 04:10:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140411090903.GA9262@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org, benjamin.widawsky@intel.com List-Id: intel-gfx@lists.freedesktop.org On Fri, Apr 11, 2014 at 11:09:03AM +0200, Daniel Vetter wrote: > So not yet sold on the story here, at least for gen8/bdw. Apparently > people haven't screamed about this yet, so it probably works. Having thought about it a bit more, I don't see how the CPU side would know about the tiling layout of the surfaces it accesses, so the remaining options I see: - we still need to swizzle the address on the CPU side - bit 6 swizzling for X/Y tiling is just gone and the optimal use of the RAM is left to the memory controller. If that's the case, we should see things failing soon enough So, until any failure case, meh. Just one thing to remember is that the swizzling bits we set are possibly reserved and may be no-ops. -- Damien