drm/bridge: adv7511: 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: Mark Brown <broonie@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230929-drm-adv7511-v1-1-b871b28ee594@kernel.org
This commit is contained in:
parent
91951d36c2
commit
86c3331c80
@ -121,7 +121,7 @@ static const struct regmap_config adv7511_regmap_config = {
|
||||
.val_bits = 8,
|
||||
|
||||
.max_register = 0xff,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.reg_defaults_raw = adv7511_register_defaults,
|
||||
.num_reg_defaults_raw = ARRAY_SIZE(adv7511_register_defaults),
|
||||
|
||||
@ -1068,7 +1068,7 @@ static const struct regmap_config adv7511_cec_regmap_config = {
|
||||
.val_bits = 8,
|
||||
|
||||
.max_register = 0xff,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.volatile_reg = adv7511_cec_register_volatile,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user