diff options
author | Mark Brown <[email protected]> | 2023-10-01 01:42:50 +0200 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2023-10-09 21:25:14 +0200 |
commit | 3d59c22bbb8d03f3f14e6d0845d44c146fb48f35 (patch) | |
tree | 69b61305f0aa540a1bb84bc09c6f7db630107d71 | |
parent | eb23cffdd7f085149799e5eda12a9aff792cc34d (diff) |
drm/rockchip: vop2: 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 <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c index 957e42886ec3..ec7e0e6149af 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c @@ -2640,7 +2640,7 @@ static const struct regmap_config vop2_regmap_config = { .max_register = 0x3000, .name = "vop2", .volatile_table = &vop2_volatile_table, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; static int vop2_bind(struct device *dev, struct device *master, void *data) |