Commit 4dd93686 authored by Mark Brown's avatar Mark Brown Committed by Neil Armstrong
Browse files

drm/bridge: tc358767: Convert to use maple tree register cache



The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231001-drm-tc358767-maple-v1-1-f759fcc4bd98@kernel.org
parent 9a9f6fb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2005,7 +2005,7 @@ static const struct regmap_config tc_regmap_config = {
	.val_bits = 32,
	.reg_stride = 4,
	.max_register = PLL_DBG,
	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_MAPLE,
	.readable_reg = tc_readable_reg,
	.volatile_table = &tc_volatile_table,
	.writeable_reg = tc_writeable_reg,