This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM67A: GPU frequency

Part Number: AM67A

I wanted to check the GPU's frequency via the k3conf tool.

I just wanted to confirm that the frequency is set statically to the maximum frequency of the speed grade.

This worked just fine for most system parts, such as the A53 core and the VPU. However, for the GPU, I cannot find the value.

According to the device tree, clock ID 3 should be the relevant one. However, I only get CLK_STATE_NOT_READY.

|--------------------------------------------------------------------------------------|
| Device ID | Clock ID | Clock Name            | Status              | Clock Frequency |
|--------------------------------------------------------------------------------------|
|   237     |     2    | DEV_GPU0_GPU_DCC_CLK  | CLK_STATE_READY     | 0               |
|   237     |     3    | DEV_GPU0_GPU_PLL_CLK  | CLK_STATE_NOT_READY | 0               |
|   237     |     4    | DEV_GPU0_PLL_CTRL_CLK | CLK_STATE_READY     | 500000000       |
|--------------------------------------------------------------------------------------|

Is this normal, and if so, why can't the tool retrieve the actual frequency?

  • Hello,

    Yes, the GPU would be configured to the best performance by default. Also you won't be able to set the GPU clock until a workload is first given to the GPU. Once the GPU is active then you can configure the GPU clock. You should be able to first run one of the built-in SDK demos (rgx_compute_test, rgx_triangle_test, kmscube, etc.). I would first try to run a workload and then see if you can retrieve the state and frequency.

    Thanks,
    Sarabesh S.

  • Hi, thanks that was the part I missed.

    Now I can see the 800MHz are set.

    |----------------------------------------------------------------------------------|
    | Device ID | Clock ID | Clock Name            | Status          | Clock Frequency |
    |----------------------------------------------------------------------------------|
    |   237     |     2    | DEV_GPU0_GPU_DCC_CLK  | CLK_STATE_READY | 0               |
    |   237     |     3    | DEV_GPU0_GPU_PLL_CLK  | CLK_STATE_READY | 800000000       |
    |   237     |     4    | DEV_GPU0_PLL_CTRL_CLK | CLK_STATE_READY | 500000000       |
    |----------------------------------------------------------------------------------|