diff mbox

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

Message ID 1408676418-29890-1-git-send-email-yc_chen@aspeedtech.com (mailing list archive)
State New, archived
Headers show

Commit Message

Y.C. Chen Aug. 22, 2014, 3 a.m. UTC
From: "Y.C. Chen" <yc_chen@aspeedtech.com>

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

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

Comments

Egbert Eich Aug. 22, 2014, 3:09 p.m. UTC | #1
Y.C. Chen writes:
 > From: "Y.C. Chen" <yc_chen@aspeedtech.com>
 > 
 > This avoid reading past the end of the list for certain modes
 > 
 > Signed-off-by: Y.C. Chen <yc_chen@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
 > 

Reviewed-by: Egbert Eich <eich@freedesktop.org>
diff mbox

Patch

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[] = {