drm/ast: open key before detect chips
Subsystems (3)
PATCH 1/2 drm/ast: open key before detect chips
From: "Y.C. Chen" <[email protected]>
Some config settings like 3rd TX chips will not get correctly if the extended reg is protected
Signed-off-by Y.C. Chen <[email protected]>
--- drivers/gpu/drm/ast/ast_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/ast/ast_main.c +1 -0
@@ -67,6 +67,7 @@ static int ast_detect_chip(struct drm_device *dev) {struct ast_private *ast = dev->dev_private;uint32_t data, jreg; +ast_open_key (ast);if (dev->pdev->device ==PCI_CHIP_AST1180 ) { ast->chip =AST1100 ;
Signature · 1 line
1.8.3.1
PATCH 2/2 drm/ast: AST2000 cannot be detected correctly
From: "Y.C. Chen" <[email protected]>
Type error and cause AST2000 cannot be detected correctly
Signed-off-by Y.C. Chen <[email protected]>
--- drivers/gpu/drm/ast/ast_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ast/ast_main.c +1 -1
@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev) } ast->vga2_clone = false; }else { - ast->chip =2000 ; + ast->chip =AST2000 ;DRM_INFO ("AST 2000 detected\n" ); } }
Signature · 1 line
1.8.3.1
Re: [PATCH 2/2] drm/ast: AST2000 cannot be detected correctly
Quoted 25 lines · Y.C. Chen
From: "Y.C. Chen" <[email protected]>
Type error and cause AST2000 cannot be detected correctly
Signed-off-by Y.C. Chen <[email protected]>--- drivers/gpu/drm/ast/ast_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/ast/ast_main.c +1
-1@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev) } ast->vga2_clone = false; }else { - ast->chip =2000 ; + ast->chip =AST2000 ;DRM_INFO ("AST 2000 detected\n" ); } }Signature · 1 line
1.8.3.1
Reviewed-by Egbert Eich <[email protected]>
Quoted 25 lines · Y.C. Chen
From: "Y.C. Chen" <[email protected]>
Some config settings like 3rd TX chips will not get correctly if the extended reg is protected
Signed-off-by Y.C. Chen <[email protected]>--- drivers/gpu/drm/ast/ast_main.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/ast/ast_main.c +1
-0@@ -67,6 +67,7 @@ static int ast_detect_chip(struct drm_device *dev) {struct ast_private *ast = dev->dev_private;uint32_t data, jreg; +ast_open_key (ast);if (dev->pdev->device ==PCI_CHIP_AST1180 ) { ast->chip =AST1100 ;Signature · 1 line
1.8.3.1
Reviewed-by Egbert Eich <[email protected]>