NV40:G80 clocks

Todo

write me

Introduction

NV40 generation cards have the following clocks:

  • host clock: clocks the host interface parts, like PFIFO
  • core clock [NVPLL]: clocks most of the card’s logic
  • unknown clock 4008
  • video clocks [VPLL1,VPLL2]: used to drive the video outputs
  • memory clocks [MPLL1-MPLL4]: used to clock the VRAM, there’s one of them for each memory partition connected to the card
  • unknown clock 4050 - not present on all cards
  • unknown clock 4058 - not present on all cards

Todo

figure out where host clock comes from

Todo

figure out 4008/shader clock

Todo

figure out 4050, 4058

The clocks other than VPLLs are set through the new PCLOCK area, VPLLs are set through PRAMDAC like on NV3.

Todo

write me

MMIO registers

8-bit space nv40-pclock [0x1000]
nv3-mmio 0x4000: PCLOCK [NV40:G80]

Todo

write me

8-bit space nv40-pcontrol [0x1000]
nv3-mmio 0xc000: PCONTROL [NV40:G80]

Todo

write me

HCLK: host clock

Todo

write me