How to set the clock frequency for GC7000L GPU, on iMX8M Quad EVK?

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

How to set the clock frequency for GC7000L GPU, on iMX8M Quad EVK?

2,194 Views
vinay_surendran
Contributor III

Hi,

I have a GPU application running on the GC7000L GPU of the iMX8M Quad Processor. 

When I profile the kernels for execution time, I get different results during different executions. I suspect, the clock frequency is varying during each instance.

So, could you please share info regarding how to set the clock frequency of the GC7000L GPU on the iMX8M Quad EVK board? 

Please point me to the appropriate documentation which describes the clock setting of GC7000L GPU.

Note: the OS on the board is the Linux BSP package distributed by NXP: version L4.9.88_2.0.0

Thanks and regards

Vinay

0 Kudos
1 Reply

1,245 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vinay

available clock options can be found in driver sources:

linux/drivers/clk/imx/clk-imx8mq.c

clk-imx8mq.c\imx\clk\drivers - linux-imx - i.MX Linux kernel 

dts file

fsl-imx8mq.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Linux common clock framework documentation

clk.txt\Documentation - linux-imx - i.MX Linux kernel 

https://elinux.org/images/b/b8/Elc2013_Clement.pdf 

Linux 4.9.88_2.0.0 BSP & Multimedia Codecs Documentation

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos