From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: Lockdep warning when using REGCACHE_RBTREE Date: Fri, 15 Jan 2016 16:28:32 +0000 Message-ID: <20160115162832.GY6588@sirena.org.uk> References: <20160115000144.GU6588@sirena.org.uk> <44832539ca2bcc0be6e08260083363fe@agner.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1494678301==" Return-path: Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 456BF6E178 for ; Fri, 15 Jan 2016 08:28:50 -0800 (PST) In-Reply-To: <44832539ca2bcc0be6e08260083363fe@agner.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Stefan Agner Cc: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1494678301== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+f314sPv49h+UVDy" Content-Disposition: inline --+f314sPv49h+UVDy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 14, 2016 at 05:14:47PM -0800, Stefan Agner wrote: > On a slightly other topic, I question whether REGCACHE_RBTREE is the > right cache type for the DCU DRM driver. The driver has uses a regmap > area of 1144 32-bit registers, the most space is used by the layer > configuration registers which are 0x40 apart and 0x0-0x20 for each layer > are actually used (hence somewhat above 50%). > Would FLAT be the better cache type? Yes, and if it's a MMIO device the performance of a flat cache is more in line with the device performance. --+f314sPv49h+UVDy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWmR4wAAoJECTWi3JdVIfQJb0H/Ayd0V/s2jekNSsz6+wz//07 iNC+oGcPxZ5/XXbInXhuMlNgXklMRNfUK+FoGiZpcYyBBgjO37t1pcivra5IqXXL rwzC2OuRz47rEM0eegfV4/lMDhJ0Te8dDenDuJ00EpNYpdnfj7H9V3yXByGBacHn S1O6fQJydTZeFHmh1yUfexKtfbFY4h9n8NAI7atIpdDw2tWlZRtDPdcIKwXcIwPM Hzrr9Ejdkb9QB4wU0CrXvHGkhjkFTlSBskVW26//vlvH4O++i+DY+5Qf/UGZPz7d JZ4j1MkrMmYmx7Wd7qkScd7lJ9nYsA4Yc4Orzxk/4UA56C8elvtlD82jhgRErZE= =Ekdl -----END PGP SIGNATURE----- --+f314sPv49h+UVDy-- --===============1494678301== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1494678301==--