Laptop display inverted but reverts to normal when external monitor is added

Is this a good reference for installing the different kernel?