I.mx 8m mini quad GPU max freq

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I.mx 8m mini quad GPU max freq

731件の閲覧回数
kishan_dudhatra
Contributor III

Hi,

I am working on i.mx8m mini quad and using 5.10.72 BSP.

In datasheet mention the GPU as being able to run @@1GHz.

Currently I am getting 500MHz GPU Clock.

root@imx8mm-lpddr4-evk:~# cat /sys/kernel/debug/gc/clk 
gpu0 mc clock: 500000280 HZ.
gpu0 sh clock: 500000280 HZ.
gpu8 mc clock: 499999732 HZ.


I have been thorough this link https://community.nxp.com/t5/i-MX-Processors/iMX8-GPU-Performance/m-p/1404304

And modified DTS file as per below.

gpu: gpu@38000000 {
		compatible = "fsl,imx8mq-gpu", "fsl,imx6q-gpu";
		reg = <0x0 0x38000000 0 0x40000>, <0x0 0x40000000 0x0 0xC0000000>, <0x0 0x0 0x0 0x8000000>;
		reg-names = "iobase_3d", "phys_baseaddr", "contiguous_mem";
		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "irq_3d";
		clocks = <&clk IMX8MQ_CLK_GPU_ROOT>, <&clk IMX8MQ_CLK_GPU_SHADER_DIV>, <&clk IMX8MQ_CLK_GPU_AXI_DIV>, <&clk IMX8MQ_CLK_GPU_AHB_DIV>;
		clock-names = "gpu3d_clk", "gpu3d_shader_clk", "gpu3d_axi_clk", "gpu3d_ahb_clk";
		assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>, <&clk IMX8MQ_CLK_GPU_SHADER_SRC>, <&clk IMX8MQ_CLK_GPU_AXI_SRC>, <&clk IMX8MQ_CLK_GPU_AHB_SRC>;
		assigned-clock-parents = <&clk IMX8MQ_GPU_PLL_OUT>, <&clk IMX8MQ_GPU_PLL_OUT>, <&clk IMX8MQ_GPU_PLL_OUT>, <&clk IMX8MQ_GPU_PLL_OUT>;
		assigned-clock-rates = <100000000>,<100000000>,<100000000><100000000>;
		power-domains = <&gpu_pd>;
		depth-compression = <0>;
		status = "okay";
	};

 
but still not getting GPU clock as expected 1GHz.

root@imx8mm-lpddr4-evk:~# 
root@imx8mm-lpddr4-evk:~#  cat /sys/kernel/debug/gc/clk 
gpu0 mc clock: 500005586 HZ.
gpu0 sh clock: 500005586 HZ.
gpu8 mc clock: 500005607 HZ.
root@imx8mm-lpddr4-evk:~# 
root@imx8mm-lpddr4-evk:~# 


So kindly guide to achieve the same.

Appreciate your response.

Thanks

 

Regards,
Kishan Dudhatra
タグ(3)
0 件の賞賛
返信
1 返信

676件の閲覧回数
don_gunn
Contributor V

I am experiencing the same thing.  Is there any feedback on how to get the GPU running at 1000MHz?

0 件の賞賛
返信