drm/bridge: sn65dsi83: Convert to use maple tree register cache
authorMark Brown <broonie@kernel.org>
Sun, 1 Oct 2023 10:26:22 +0000 (11:26 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 2 Oct 2023 07:09:20 +0000 (09:09 +0200)
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: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231001-drm-sn65dsi83-maple-v1-1-cf8ad22b6be0@kernel.org
drivers/gpu/drm/bridge/ti-sn65dsi83.c

index 061e8bd5915de808a38a07f7e94a6e784c020dc0..4814b7b6d1fd1f33fa3b3164c742b9f58f66cabf 100644 (file)
@@ -233,7 +233,7 @@ static const struct regmap_config sn65dsi83_regmap_config = {
        .rd_table = &sn65dsi83_readable_table,
        .wr_table = &sn65dsi83_writeable_table,
        .volatile_table = &sn65dsi83_volatile_table,
-       .cache_type = REGCACHE_RBTREE,
+       .cache_type = REGCACHE_MAPLE,
        .max_register = REG_IRQ_STAT,
 };