Hi Stefan,
static const struct regmap_config fsl_dcu_regmap_config = { .reg_bits = 32, .reg_stride = 4, .val_bits = 32, .cache_type = REGCACHE_RBTREE,
This needs to be a flat cache. See https://lists.freedesktop.org/archives/dri-devel/2016-January/099121.h tml or https://lkml.org/lkml/2016/3/24/281 max_register also needs an appropriate value.
Ok, since the complete set which switches to the atomic helper is not stable material (and also won't make it into 4.7 anymore), I created a seperate bugfix now: https://lists.freedesktop.org/archives/dri-devel/2016-June/109625.html
What I don't quite get yet is the REGCACHE_FLAT influencing the endianness behavior?
I think it didn't. And endianness issue have been fixed by regmap maintainer.
If it is, Meng, can you test again with v4.7-rc1 + the FLAT cache patch above?
I have tested FLAT cache on LS1021A, it works fine. By the way do you have any opinion on LS1021A's HDMI driver?
Regards, Meng