• Dave Airlie's avatar
    drm/mgag200: fix G200ER pll picking algorithm · 9830605d
    Dave Airlie authored
    The original code was misported from the X driver,
    
    a) an int went to unsigned int, breaking the downward counting testm code
    b) the port did the vco/computed clock bits completely wrong.
    
    This fixes an infinite loop on modprobe on some Dell servers with the G200ER
    chipset variant.
    
    Found in internal testing.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    9830605d
mgag200_mode.c 35.8 KB