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

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
...@@ -2005,7 +2005,7 @@ static const struct regmap_config tc_regmap_config = { ...@@ -2005,7 +2005,7 @@ static const struct regmap_config tc_regmap_config = {
.val_bits = 32, .val_bits = 32,
.reg_stride = 4, .reg_stride = 4,
.max_register = PLL_DBG, .max_register = PLL_DBG,
.cache_type = REGCACHE_RBTREE, .cache_type = REGCACHE_MAPLE,
.readable_reg = tc_readable_reg, .readable_reg = tc_readable_reg,
.volatile_table = &tc_volatile_table, .volatile_table = &tc_volatile_table,
.writeable_reg = tc_writeable_reg, .writeable_reg = tc_writeable_reg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment