From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH] drm/radeon: Disable writeback by default on ppc Date: Thu, 05 Dec 2013 12:39:31 +1100 Message-ID: <1386207571.21910.0.camel@pasglop> References: <1371477978-25440-1-git-send-email-ajax@redhat.com> <1371485240.13840.78.camel@localhost> <1383863356.4776.202.camel@pasglop> <527CEA7D.4060704@linux.vnet.ibm.com> <1385334947.4882.153.camel@pasglop> <5293E73E.8050704@linux.vnet.ibm.com> <529FA9A5.4060706@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by gabe.freedesktop.org (Postfix) with ESMTP id C73FDFAEC6 for ; Wed, 4 Dec 2013 17:39:46 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Alex Deucher Cc: Maling list - DRI developers , Jerome Glisse , Thadeu Lima de Souza Cascardo , Brian King List-Id: dri-devel@lists.freedesktop.org On Wed, 2013-12-04 at 19:05 -0500, Alex Deucher wrote: > > Setting CP_RB_CNTL.BUF_SWAP causes the CP to use the selected byte > > swapping for just about everything accessed by the CP (rptr writeback, > > indirect buffers, etc.). Looks like the DMA ring supports and enables > > rptr writeback as well (DMA_RB_CNTL.DMA_RPTR_WRITEBACK_SWAP_ENABLE) so > > I think we can drop the swapping of the rptr writeback. > > > > Obvious patch attached. This works all the way back to r300 ? Cheers, Ben.