Commit f9bd00e0 authored by KuoHsiang Chou's avatar KuoHsiang Chou Committed by Thomas Zimmermann
Browse files
parent b7a2657e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ enum ast_chip {
	AST2300,
	AST2400,
	AST2500,
	AST2600,
};

enum ast_tx_chip {
+4 −1
Original line number Diff line number Diff line
@@ -143,7 +143,10 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post)
	ast_detect_config_mode(dev, &scu_rev);

	/* Identify chipset */
	if (dev->pdev->revision >= 0x40) {
	if (dev->pdev->revision >= 0x50) {
		ast->chip = AST2600;
		drm_info(dev, "AST 2600 detected\n");
	} else if (dev->pdev->revision >= 0x40) {
		ast->chip = AST2500;
		drm_info(dev, "AST 2500 detected\n");
	} else if (dev->pdev->revision >= 0x30) {