Closed rsglobal closed 5 years ago
This patch isn't correct. You're trying to replace the modifier for Allwinner's tiled format for ARM's compressed framebuffer format. We obviously want the former here.
I saw that ALLWINNER specific modifiers has been shifted to index 9 at linux-cedrus/drm branch https://github.com/bootlin/linux-cedrus/commit/ad6c0a31dd9e0fb2a9df857ef31061b7ffb394c7
Could you please update libdrm-sun4i repository to make API match? https://github.com/bootlin/libdrm-sun4i/commit/f833c88eaa19f1904e757dd4f26f03819a68421b
Since libdrm-2.4.95 "Arm AFBC modifiers" was introduced
Replace allwinner specific DRM_FORMAT_MOD_ALLWINNER_MB32_TILED with DRM_FORMAT_MOD_ARM_AFBC(1)
Signed-off-by: Roman Stratiienko roman.stratiienko@globallogic.com