dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Y.C. Chen" <yc_chen@aspeedtech.com>
To: dri-devel@lists.freedesktop.org
Cc: eich@suse.com, yc_chen@aspeedtech.com, airlied@redhat.com
Subject: [PATCH 1/2] drm/ast: open key before detect chips
Date: Wed, 10 Sep 2014 12:07:53 +0800	[thread overview]
Message-ID: <1410322074-4427-1-git-send-email-yc_chen@aspeedtech.com> (raw)

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

             reply	other threads:[~2014-09-10  4:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  4:07 Y.C. Chen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410322074-4427-1-git-send-email-yc_chen@aspeedtech.com \
    --to=yc_chen@aspeedtech.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eich@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox