IMX8M Mini GPU clock was 6KHz?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8M Mini GPU clock was 6KHz?

Jump to solution
999 Views
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 Kudos
1 Solution
984 Views
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

,

View solution in original post

0 Kudos
3 Replies
985 Views
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 Kudos
977 Views
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 Kudos
968 Views
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 Kudos