[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160115162832.GY6588@sirena.org.uk>
Date: Fri, 15 Jan 2016 16:28:32 +0000
From: Mark Brown <broonie@...nel.org>
To: Stefan Agner <stefan@...er.ch>
Cc: festevam@...il.com, peterz@...radead.org, mingo@...hat.com,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: Lockdep warning when using REGCACHE_RBTREE
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.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists