[PATCH 1/2] drm/ast: Add missing entry to dclk_table[]

Y.C. Chen yc_chen at aspeedtech.com
Thu Aug 21 20:00:17 PDT 2014


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

This avoid reading past the end of the list for certain modes

Signed-off-by: Y.C. Chen <yc_chen at aspeedtech.com>
---
 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[] = {
-- 
1.8.3.1



More information about the dri-devel mailing list