In which register can I configure GPU3D_SHADER_CLK_ROOT of i.mx6 DL ?

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

In which register can I configure GPU3D_SHADER_CLK_ROOT of i.mx6 DL ?

跳至解决方案
1,163 次查看
roelofberg
Contributor II

Hi,

where can I configure GPU3D_SHADER_CLK_ROOT of i.mx6 DL ?

It is introduced in the Processor Reference Manual:

"

There are two main clocks for the processing control: shader clk for the shader part, and core clk for the remaining part. The core clk and shader clk frequency are programmable in CCM (as the clk frequency for GPU3D_CORE_CLK_ROOT, GPU3D_SHADER_CLK_ROOT).

"

In CCM_CBCMR one can configure gpu3d_core_clk_sel and gpu2d_core_clk_sel. I assume that gpu3d_core_clk_sel controls GPU3D_CORE_CLK_ROOT, right ? But I haven't found a proper register for GPU3D_SHADER_CLK_ROOT at all ?

Thanks,

Roelof

标签 (2)
1 解答
820 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Roelof

     You can see below code comment on arch/arm/mach-imx/clk-imx6q.c, I think gpu3d shader clk setting located in CCM_CBCMR bit[9:8].

689                 /*

690                  * The multiplexer and divider of imx6q clock gpu3d_shader get

691                  * redefined/reused as gpu2d_core_sel and gpu2d_core_podf on imx6dl.

692                  */

在原帖中查看解决方案

2 回复数
821 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, Roelof

     You can see below code comment on arch/arm/mach-imx/clk-imx6q.c, I think gpu3d shader clk setting located in CCM_CBCMR bit[9:8].

689                 /*

690                  * The multiplexer and divider of imx6q clock gpu3d_shader get

691                  * redefined/reused as gpu2d_core_sel and gpu2d_core_podf on imx6dl.

692                  */

820 次查看
roelofberg
Contributor II

Thanks a lot Yongcai. I assume you refer to the Linux code, we're using VxWorks here. It always makes sense to look for Freescale's Linux implementation, right ? I really appreciate that Freescale puts so much effort in good Linux drivers and I hope, one day we can benefit from that too :smileywink:

Thanks for the excellent support, as always.

Freescale rocks !

0 项奖励
回复