Lockdep warning when using REGCACHE_RBTREE
Mark Brown
broonie at kernel.org
Fri Jan 15 08:28:32 PST 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20160115/8a5c229d/attachment.sig>
More information about the dri-devel
mailing list