From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain BERTRAND Subject: endianness of rlc buffers (SI) Date: Tue, 22 Oct 2013 02:26:59 +0200 Message-ID: <20131022002659.GA246@freedom> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from bounce-vit-1.online.net (bounce-vit-1.online.net [88.190.253.79]) by gabe.freedesktop.org (Postfix) with ESMTP id E927CE5CF4 for ; Mon, 21 Oct 2013 19:08:22 -0700 (PDT) Received: from [88.190.253.76] (helo=smtpauth-vit.online.net) by bounce-vit-1.online.net with esmtpa (Exim 4.71) (envelope-from ) id 1VYPoN-0005Wy-Le for dri-devel@lists.freedesktop.org; Tue, 22 Oct 2013 02:27:03 +0200 Received: from [88.188.175.165] (helo=localhost) by smtpauth-vit.online.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VYPoK-0006iL-41 for dri-devel@lists.freedesktop.org; Tue, 22 Oct 2013 02:27:00 +0200 Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi, commit 555b1b651acf44bf27ebbb04235d38a8fd2d58dc (drm-fixes-3.12) evergreen.c, SI code path, line 4045 and 4046 shouldn't be swapped? Should cpu_to_le32 be used? Basically, is the endianness enforcement right for the rlc BOs? Or is there a bit somewhere to switch the RLC to host endianness? Or the kmap is swapping dwords? regards, -- Sylvain