• Julia Lemire's avatar
    drm/mgag200: Bug fix: Modified pll algorithm for EH project · 260b3f12
    Julia Lemire authored
    While testing the mgag200 kms driver on the HP ProLiant Gen8, a
    bug was seen.  Once the bootloader would load the selected kernel,
    the screen would go black.  At first it was assumed that the
    mgag200 kms driver was hanging.  But after setting up the grub
    serial output, it was seen that the driver was being loaded
    properly.  After trying serval monitors, one finaly displayed
    the message "Frequency Out of Range".  By comparing the kms pll
    algorithm with the previous mgag200 xorg driver pll algorithm,
    discrepencies were found.  Once the kms pll algorithm was
    modified, the expected pll values were produced.  This fix was
    tested on several monitors of varying native resolutions.
    Signed-off-by: default avatarJulia Lemire <jlemire@matrox.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    260b3f12
mgag200_mode.c 36.5 KB