The study includes a Dose-Determining Part and a Dose Expansion Part. Pharmacokinetic and safety profiles of INC280 in the setting of liver dysfunction will be determined in the Dose-Determining Part. The Dose Expansion Part will start when the appropriate dose for patients with liver dysfunction is determined based on pharmacokinetics (PK) and safety data from the Dose-Determining Part and other INC280 ongoing clinical studies.