Skip to content

Commit

Permalink
drm/panel: ili9322: Convert to use maple tree register cache
Browse files Browse the repository at this point in the history
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-2-5519799a55e5@kernel.org
  • Loading branch information
Mark Brown authored and Neil Armstrong committed Oct 2, 2023
1 parent c8c575e commit 800c1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/panel/panel-ilitek-ili9322.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ static const struct regmap_config ili9322_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = 0x44,
.cache_type = REGCACHE_RBTREE,
.cache_type = REGCACHE_MAPLE,
.writeable_reg = ili9322_writeable_reg,
};

Expand Down

0 comments on commit 800c1ff

Please sign in to comment.