Hi all,
Working with custom boards based on imx6q/imx6dl processors and 3.14.57 freescale BSP based kernel I have seen the following message in the dmesg of Dual Lite processors at boot:
galcore: clk_get vg clock failed, disable vg!
Quad/Dual dtsi file
gpu: gpu@00130000 {
- - -
clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>, <&clks IMX6QDL_CLK_OPENVG_AXI>,
<&clks IMX6QDL_CLK_GPU3D_AXI>, <&clks IMX6QDL_CLK_GPU2D_CORE>,
<&clks IMX6QDL_CLK_GPU3D_CORE>, <&clks IMX6QDL_CLK_GPU3D_SHADER>;
clock-names = "gpu2d_axi_clk", "openvg_axi_clk",
"gpu3d_axi_clk", "gpu2d_clk",
"gpu3d_clk", "gpu3d_shader_clk";
- - -
};
Dual Lite dtsi file
gpu: gpu@00130000 {
- - -
clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>, <&clks IMX6QDL_CLK_GPU3D_AXI>,
<&clks IMX6QDL_CLK_GPU2D_CORE>, <&clks IMX6QDL_CLK_GPU3D_CORE>,
<&clks IMX6QDL_CLK_DUMMY>;
clock-names = "gpu2d_axi_clk", "gpu3d_axi_clk",
"gpu2d_clk", "gpu3d_clk",
"gpu3d_shader_clk";
- - -
};
Looking at these dtsi files I have some questions:
Best regards.
Victor
Issue: "galcore: clk_get vg clock failed, disable vg!" appears in Linux 6.6 again.
Parameters (as above): custom board based on imx6dlsabresd.
Description: There is no clock-name "openvg_axi_clk" in any imx6dl dtsi, but in imx6q.dtsi only, cmp. https://github.com/nxp-imx/linux-imx/blob/b586a521770e508d1d440ccb085c7696b9d6d387/arch/arm/boot/dts...
Affected code: https://github.com/nxp-imx/linux-imx/blob/b586a521770e508d1d440ccb085c7696b9d6d387/drivers/mxc/gpu-v...
Thanks for a quick reply.
Can someone from NXP please comment on that.
This has not changed in the imx_4.1.15_1.0.0_ga release.
The kernel still reports on my custom imx.6 Solo board
[1.757799] galcore: clk_get vg clock failed, disable vg!
Does this mean I cannot use OpenVG?
There was a problem with the i.MX6Q v2.0 that required that GPu2D and VG Core Clock and Axi Clock to be separated, you may had a previous version of the device and it is having the problem
https://git.congatec.com/arm/qmx6_kernel/commit/765af27537bbbdea4e280823e6eeecbd73f2c604