From patchwork Fri Aug 22 03:00:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Y.C. Chen" X-Patchwork-Id: 4762741 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4FBB9C0338 for ; Fri, 22 Aug 2014 10:07:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A39320172 for ; Fri, 22 Aug 2014 10:07:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9557620179 for ; Fri, 22 Aug 2014 10:07:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B93486E374; Fri, 22 Aug 2014 03:07:10 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from msr12.hinet.net (msr12.hinet.net [168.95.4.112]) by gabe.freedesktop.org (Postfix) with ESMTP id C539B6E055 for ; Thu, 21 Aug 2014 20:00:51 -0700 (PDT) Received: from localhost.localdomain.com (211-20-114-70.HINET-IP.hinet.net [211.20.114.70]) (authenticated bits=0) by msr12.hinet.net (8.14.2/8.14.2) with ESMTP id s7M30hKh021025; Fri, 22 Aug 2014 11:00:44 +0800 (CST) From: "Y.C. Chen" To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/ast: Add missing entry to dclk_table[] Date: Fri, 22 Aug 2014 11:00:17 +0800 Message-Id: <1408676418-29890-1-git-send-email-yc_chen@aspeedtech.com> X-Mailer: git-send-email 1.8.3.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrErMTGxXJZpMhNN2bTt2CDH3/kLa58fc9mcfXWAiaLw93zmS0a/31h tej6dY/ZgdXjfvdxJo/3+66yeazfcpXFo+vuffYAlijWzLyk/IoE1owTc+YxFUxiq/j6ZxJL A+NHli5GTg4hgUiJ1n0P2EFsNgEtic9TZzCB2CICyhJ/J65iBLGZBXIl7sx5wAZiCwvYS8yY +pgVxGYRUJW4t7sfbA6vgJvEo1UbwGokBBQkpjx8zzyBkWMVo0hucaJucW6xoa6JXkZmXmqJ HhBvYgR6a0U8u9cOxrMnDQ8xMnFwHmIU4GBU4uH9xHgjWIg1say4Mhckzn2IUZKDSUmUd+2K b8FCfEn5KZUZicUZ8UWlOanFhxglOHiURHjXbwDK8RYXJOYWZ6bDpGQ4OJQkeNtBUoJFqemp FWmZOSWpRRDpU4zGHPP2vu1l4mhpApJCLHn5ealS4rzn1gOVC4BMyijNg6uGRcIlRlkpYd7m NUA1PAWpRbmZJajyrxjFgX4QhriHJzOvBO6cV0CXMgFdaj3zK8ilJYkIKQAnYayd5wEAAA== X-Mailman-Approved-At: Fri, 22 Aug 2014 03:07:09 -0700 Cc: airlied@redhat.com, "Y.C. Chen" , eich@suse.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Y.C. Chen" This avoid reading past the end of the list for certain modes Signed-off-by: Y.C. Chen Reviewed-by: Egbert Eich --- drivers/gpu/drm/ast/ast_tables.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/ast/ast_tables.h b/drivers/gpu/drm/ast/ast_tables.h index 4c761dc..05c01ea 100644 --- a/drivers/gpu/drm/ast/ast_tables.h +++ b/drivers/gpu/drm/ast/ast_tables.h @@ -99,6 +99,7 @@ static struct ast_vbios_dclk_info dclk_table[] = { {0x25, 0x65, 0x80}, /* 16: VCLK88.75 */ {0x77, 0x58, 0x80}, /* 17: VCLK119 */ {0x32, 0x67, 0x80}, /* 18: VCLK85_5 */ + {0x6a, 0x6d, 0x80}, /* 19: VCLK97_75 */ }; static struct ast_vbios_stdtable vbios_stdtable[] = {