projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb23cff
)
drm/rockchip: vop2: Convert to use maple tree register cache
author
Mark Brown
<broonie@kernel.org>
Sat, 30 Sep 2023 23:42:50 +0000
(
01:42
+0200)
committer
Heiko Stuebner
<heiko@sntech.de>
Mon, 9 Oct 2023 19:25:14 +0000
(21:25 +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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20231001-drm-rockchip-maple-v1-1-ca396ab75be7@kernel.org
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
index
957e428
..
ec7e0e6
100644
(file)
--- 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_
RBTRE
E,
+ .cache_type = REGCACHE_
MAPL
E,
};
static int vop2_bind(struct device *dev, struct device *master, void *data)