From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753812AbcAOQ2t (ORCPT ); Fri, 15 Jan 2016 11:28:49 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:56454 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753218AbcAOQ2s (ORCPT ); Fri, 15 Jan 2016 11:28:48 -0500 Date: Fri, 15 Jan 2016 16:28:32 +0000 From: Mark Brown To: Stefan Agner Cc: festevam@gmail.com, peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-ID: <20160115162832.GY6588@sirena.org.uk> References: <20160115000144.GU6588@sirena.org.uk> <44832539ca2bcc0be6e08260083363fe@agner.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+f314sPv49h+UVDy" Content-Disposition: inline In-Reply-To: <44832539ca2bcc0be6e08260083363fe@agner.ch> X-Cookie: APL hackers do it in the quad. User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Lockdep warning when using REGCACHE_RBTREE X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+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--