dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/ast: open key before detect chips
@ 2014-09-10  4:07 Y.C. Chen
  2014-09-10  4:07 ` [PATCH 2/2] drm/ast: AST2000 cannot be detected correctly Y.C. Chen
  2014-09-10  8:34 ` [PATCH 1/2] drm/ast: open key before detect chips Egbert Eich
  0 siblings, 2 replies; 4+ messages in thread
From: Y.C. Chen @ 2014-09-10  4:07 UTC (permalink / raw)
  To: dri-devel; +Cc: eich, yc_chen, airlied

From: "Y.C. Chen" <yc_chen@aspeedtech.com>

Some config settings like 3rd TX chips will not get correctly
if the extended reg is protected

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
---
 drivers/gpu/drm/ast/ast_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c
index a2cc6be..b027e33 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -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;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-10  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10  4:07 [PATCH 1/2] drm/ast: open key before detect chips Y.C. Chen
2014-09-10  4:07 ` [PATCH 2/2] drm/ast: AST2000 cannot be detected correctly Y.C. Chen
2014-09-10  8:35   ` Egbert Eich
2014-09-10  8:34 ` [PATCH 1/2] drm/ast: open key before detect chips Egbert Eich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox