Commit f9bd00e0 authored by KuoHsiang Chou's avatar KuoHsiang Chou Committed by Thomas Zimmermann
parent b7a2657e
...@@ -64,6 +64,7 @@ enum ast_chip { ...@@ -64,6 +64,7 @@ enum ast_chip {
AST2300, AST2300,
AST2400, AST2400,
AST2500, AST2500,
AST2600,
}; };
enum ast_tx_chip { enum ast_tx_chip {
......
...@@ -143,7 +143,10 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post) ...@@ -143,7 +143,10 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post)
ast_detect_config_mode(dev, &scu_rev); ast_detect_config_mode(dev, &scu_rev);
/* Identify chipset */ /* 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; ast->chip = AST2500;
drm_info(dev, "AST 2500 detected\n"); drm_info(dev, "AST 2500 detected\n");
} else if (dev->pdev->revision >= 0x30) { } else if (dev->pdev->revision >= 0x30) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment