Hi Khang,
Have you had any luck with resolving your issue?
I have a similar issue on my custom IMX6 Solo based board. I am using buildroot version 2019.11 with imx kernel version 4.9.88 (linux-imx - i.MX Linux kernel). Buildroot is building version 6.2.4.p1.2 of both imx-gpu-g2d and imx-gpu-viv packages. I am getting the following error during boot:
mxc_vpu 2040000.vpu_fsl: VPU initialized
galcore: clk_get vg clock failed, disable vg!
Galcore version 6.2.4.150331
galcore: probe of 130000.gpu failed with error -22
I have the following packages enabled on buildroot:
BR2_PACKAGE_FREESCALE_IMX=y
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
BR2_PACKAGE_FIRMWARE_IMX=y
BR2_PACKAGE_IMX_GPU_G2D=y
BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES=y
BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES=y
BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO=y
I've also enabled the CONFIG_MXC_GPU_VIV in the kernel config. Any idea why I'm seeing this issue?
Regards,
Daniel