• Karol Herbst's avatar
    drm/nouveau/bios: Add parsing of VPSTATE table · f26493d2
    Karol Herbst authored
    This table contains three important clocks:
    
    base  clock: This is the non boosted max clock.
    tdp   clock: The clock at wich the vbios guarentees the TDP won't ever be
                 exceeded at max load (seems to be always the same as the base
                 clock, but behaves differently).
    boost clock: The avg clock the gpu will stay boosted to. It doesn't seem to
                 affect the behaviour of the nvidia driver at all though.
    
    v2: Make clear that base/boost/tdp fields are ids.
    v5: Rename Base clock to vpstate.
        Make vbios pointers 32bit.
    Signed-off-by: default avatarKarol Herbst <karolherbst@gmail.com>
    Reviewed-by: default avatarMartin Peres <martin.peres@free.fr>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    f26493d2
vpstate.h 481 Bytes