• Ben Skeggs's avatar
    drm/nv40/pm: convert to new pwm hooks, also fixing pwm type detection · 69346180
    Ben Skeggs authored
    
    
    A NV49 appeared a while back that was using the "nv41 style" pwm registers,
    rather than the "nv40 style" ones my board is using.  This disproves the
    previous theory that the pwm controller choice is chipset-specific.
    
    So, after looking at a bunch of vbios images it appears that the next viable
    theory is that we should select the pwm controller to use based on the gpio
    line the fan is tied to, just like we do on nv50.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    69346180
nouveau_state.c 40.7 KB