IMX8M Mini GPU clock was 6KHz?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8M Mini GPU clock was 6KHz?

跳至解决方案
2,707 次查看
Takashi_Kashiwagi
Senior Contributor I

Hi Community!

 

I have using IMX8MM with kernel 4.19 and Qt Application. I'm investigating GPU because the drawing of Qt Application is slow.

 

Looking at various information on the GPU, the GPU clock was 6KHz, which was quite slow. Is this because the settings in the dtb file are incorrect?

 

root@imx8mm-var-dart:~# cat /sys/kernel/debug/gc/clk
gpu0 mc clock: 6105 HZ.
gpu0 sh clock: 6105 HZ.
gpu8 mc clock: 6107 HZ.
root@imx8mm-var-dart:~# cat /sys/kernel/debug/gc/info
gpu : 0
model : 600
revision : 4653
product : 70005
eco : 0

gpu : 8
model : 520
revision : 5341
product : 5202
eco : 0

cat: '[': No such file or directory
root@imx8mm-var-dart:~# cat /sys/kernel/debug/gc/meminfo
VIDEO MEMORY:
POOL SYSTEM:
Free : 107590126 B
Used : 26627602 B
MinFree : 106891650 B
MaxUsed : 27326078 B
Total : 134217728 B
POOL VIRTUAL:
Used : 24195072 B
MaxUsed : 24195072 B
root@imx8mm-var-dart:~# cat /sys/kernel/debug/gc/idle
On: 166,940,419,625 ns
Off: 36,154,787,625 ns
Idle: 0 ns
Suspend: 89,298,916,750 ns
root@imx8mm-var-dart:~#

 

Best Regards,

T.Kashiwagi

0 项奖励
回复
1 解答
2,692 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Takashi San,

The BSP is wrong, the MX8MMini BSP is in:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

also please consult with variscite it looks like they do not enable the GPU.

Regards

,

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,693 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Takashi San,

The BSP is wrong, the MX8MMini BSP is in:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

also please consult with variscite it looks like they do not enable the GPU.

Regards

,

0 项奖励
回复
2,685 次查看
Takashi_Kashiwagi
Senior Contributor I

Hi Bio-san

 

Thank you for replying.

also please consult with variscite it looks like they do not enable the GPU.

OK. I will contact variscite.

 

Best Regards,

T.Kashiwagi

 

0 项奖励
回复
2,676 次查看
Takashi_Kashiwagi
Senior Contributor I

Hi @Bio_TICFSL  san

 

As a result of various checks, I think that the GPU is working.
The score was 256 when I ran "glmark2-es2-wayland".
Also, the demo included in / opt / imx-gpu-sdk / GLES2 were worked.

 

"$ cat / sys / kernel / debug / gc / clk" doesn't seem to work.

Is it possible to get the GPU clock in other ways?

 

Best Regards,

T.Kashiwagi

0 项奖励
回复