Hi, I'm using buildroot for orangePi-pc-plus (h3). Linux kernel 5.2.
i set CONFIG_DRM_FBDEV_OVERALLOC=200 to achieve double buffer, cma=128;
Qt5 says:
Unable to set double buffer mode! (Invalid argument)
segmentaion fault.
buildroot:
sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00/r6p2 /home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00
Applying 0001-makefile-Add-install-target-and-build-the-module-by-.patch using series:
patching file src/devicedrv/mali/Makefile
Hunk #1 succeeded at 193 (offset 16 lines).
Applying 0002-mali-Support-building-against-4.6.patch using series:
patching file src/devicedrv/mali/linux/mali_memory_swap_alloc.c
Applying 0003-mali-Support-building-against-4.8.patch using series:
patching file src/devicedrv/mali/linux/mali_memory_os_alloc.c
Hunk #2 succeeded at 515 (offset 7 lines).
Hunk #3 succeeded at 558 (offset 7 lines).
Hunk #4 succeeded at 618 (offset 7 lines).
Hunk #5 succeeded at 772 (offset 7 lines).
Applying 0004-mali-Print-the-mali-version-at-probe.patch using series:
patching file src/devicedrv/mali/common/mali_kernel_core.c
Applying 0005-mali-Add-sunxi-platform.patch using series:
patching file src/devicedrv/mali/platform/sunxi/sunxi.c
Applying r6p2/0006-mali-Allow-devfreq-to-run-without-power-models.patch using series:
patching file src/devicedrv/mali/linux/mali_devfreq.c
Applying 0007-mali-support-building-against-4.10.patch using series:
patching file src/devicedrv/mali/linux/mali_memory.c
Applying 0008-mali-support-building-against-4.11.patch using series:
patching file src/devicedrv/mali/linux/mali_memory.c
Applying r6p2/0009-mali-Fix-user-memory-domain-fault.patch using series:
patching file src/devicedrv/mali/common/mali_gp_job.c
Applying 0010-mali-support-building-against-4.12.patch using series:
patching file src/devicedrv/mali/linux/mali_osk_specific.h
Applying r6p2/0011-mali-support-building-against-4.13.patch using series:
patching file src/devicedrv/mali/linux/mali_kernel_linux.h
Applying 0012-mali-support-building-against-4.14.patch using series:
patching file src/devicedrv/mali/linux/mali_memory_swap_alloc.c
Applying r6p2/0014-mali-Make-devfreq-optional.patch using series:
patching file src/devicedrv/mali/linux/mali_devfreq.c
Applying 0015-Enable-parallel-building-passing-variable-to-Makefile.patch using series:
patching file src/devicedrv/mali/Makefile
Applying r6p2/0016-mali-support-building-against-4.16.patch using series:
patching file src/devicedrv/mali/linux/mali_memory_secure.c
Applying 0018-mali-support-building-against-4.20.patch using series:
patching file src/devicedrv/mali/linux/mali_kernel_linux.c
Hunk #1 succeeded at 1125 (offset 193 lines).
patching file src/devicedrv/mali/linux/mali_kernel_linux.h
Hunk #1 succeeded at 16 with fuzz 1.
Hunk #2 succeeded at 34 (offset 5 lines).
patching file src/devicedrv/mali/linux/mali_osk_time.c
Applying 0019-mali-support-building-against-5.0.patch using series:
patching file src/devicedrv/mali/linux/mali_kernel_linux.h
Hunk #1 succeeded at 43 (offset 5 lines).
patching file src/devicedrv/mali/linux/mali_ukk_mem.c
Applying 0020-mali-support-building-against-4.17.patch using series:
patching file src/devicedrv/mali/linux/mali_memory.c
/home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00
make[1]: Entering directory '/home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00/r6p2/src/devicedrv/mali'
Makefile:173: "You want to support DEVFREQ but kernel didn't support DEVFREQ."
Hi, I'm using buildroot for orangePi-pc-plus (h3). Linux kernel 5.2. i set CONFIG_DRM_FBDEV_OVERALLOC=200 to achieve double buffer, cma=128; Qt5 says: Unable to set double buffer mode! (Invalid argument) segmentaion fault. buildroot: sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00/r6p2 /home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00
Applying 0001-makefile-Add-install-target-and-build-the-module-by-.patch using series: patching file src/devicedrv/mali/Makefile Hunk #1 succeeded at 193 (offset 16 lines).
Applying 0002-mali-Support-building-against-4.6.patch using series: patching file src/devicedrv/mali/linux/mali_memory_swap_alloc.c
Applying 0003-mali-Support-building-against-4.8.patch using series: patching file src/devicedrv/mali/linux/mali_memory_os_alloc.c Hunk #2 succeeded at 515 (offset 7 lines). Hunk #3 succeeded at 558 (offset 7 lines). Hunk #4 succeeded at 618 (offset 7 lines). Hunk #5 succeeded at 772 (offset 7 lines).
Applying 0004-mali-Print-the-mali-version-at-probe.patch using series: patching file src/devicedrv/mali/common/mali_kernel_core.c
Applying 0005-mali-Add-sunxi-platform.patch using series: patching file src/devicedrv/mali/platform/sunxi/sunxi.c
Applying r6p2/0006-mali-Allow-devfreq-to-run-without-power-models.patch using series: patching file src/devicedrv/mali/linux/mali_devfreq.c
Applying 0007-mali-support-building-against-4.10.patch using series: patching file src/devicedrv/mali/linux/mali_memory.c
Applying 0008-mali-support-building-against-4.11.patch using series: patching file src/devicedrv/mali/linux/mali_memory.c
Applying r6p2/0009-mali-Fix-user-memory-domain-fault.patch using series: patching file src/devicedrv/mali/common/mali_gp_job.c
Applying 0010-mali-support-building-against-4.12.patch using series: patching file src/devicedrv/mali/linux/mali_osk_specific.h
Applying r6p2/0011-mali-support-building-against-4.13.patch using series: patching file src/devicedrv/mali/linux/mali_kernel_linux.h
Applying 0012-mali-support-building-against-4.14.patch using series: patching file src/devicedrv/mali/linux/mali_memory_swap_alloc.c
Applying r6p2/0013-mali-support-building-against-4.15.patch using series: patching file src/devicedrv/mali/common/mali_control_timer.c patching file src/devicedrv/mali/common/mali_group.c patching file src/devicedrv/mali/common/mali_osk_types.h patching file src/devicedrv/mali/linux/mali_memory_os_alloc.c patching file src/devicedrv/mali/linux/mali_osk_timers.c
Applying r6p2/0014-mali-Make-devfreq-optional.patch using series: patching file src/devicedrv/mali/linux/mali_devfreq.c
Applying 0015-Enable-parallel-building-passing-variable-to-Makefile.patch using series: patching file src/devicedrv/mali/Makefile
Applying r6p2/0016-mali-support-building-against-4.16.patch using series: patching file src/devicedrv/mali/linux/mali_memory_secure.c
Applying 0018-mali-support-building-against-4.20.patch using series: patching file src/devicedrv/mali/linux/mali_kernel_linux.c Hunk #1 succeeded at 1125 (offset 193 lines). patching file src/devicedrv/mali/linux/mali_kernel_linux.h Hunk #1 succeeded at 16 with fuzz 1. Hunk #2 succeeded at 34 (offset 5 lines). patching file src/devicedrv/mali/linux/mali_osk_time.c
Applying 0019-mali-support-building-against-5.0.patch using series: patching file src/devicedrv/mali/linux/mali_kernel_linux.h Hunk #1 succeeded at 43 (offset 5 lines). patching file src/devicedrv/mali/linux/mali_ukk_mem.c
Applying 0020-mali-support-building-against-4.17.patch using series: patching file src/devicedrv/mali/linux/mali_memory.c /home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00 make[1]: Entering directory '/home/111/buildroot-2019.08/output/build/sunxi-mali-mainline-driver-edd3cf4ae7ea5ec573a0eccfbbeb985244499a00/r6p2/src/devicedrv/mali' Makefile:173: "You want to support DEVFREQ but kernel didn't support DEVFREQ."