Skip to content

Commit 5a9f698

Browse files
ycchen0221airlied
authored andcommitted
drm/ast: Fixed 1280x800 Display Issue
The original ast driver cannot display properly if the resolution is 1280x800 and the pixel clock is 83.5MHz. Here is the update to fix it. Signed-off-by: Y.C. Chen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent b7b3f66 commit 5a9f698

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/ast/ast_tables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static const struct ast_vbios_dclk_info dclk_table[] = {
9797
{0x67, 0x22, 0x00}, /* 0E: VCLK157_5 */
9898
{0x6A, 0x22, 0x00}, /* 0F: VCLK162 */
9999
{0x4d, 0x4c, 0x80}, /* 10: VCLK154 */
100-
{0xa7, 0x78, 0x80}, /* 11: VCLK83.5 */
100+
{0x68, 0x6f, 0x80}, /* 11: VCLK83.5 */
101101
{0x28, 0x49, 0x80}, /* 12: VCLK106.5 */
102102
{0x37, 0x49, 0x80}, /* 13: VCLK146.25 */
103103
{0x1f, 0x45, 0x80}, /* 14: VCLK148.5 */
@@ -127,7 +127,7 @@ static const struct ast_vbios_dclk_info dclk_table_ast2500[] = {
127127
{0x67, 0x22, 0x00}, /* 0E: VCLK157_5 */
128128
{0x6A, 0x22, 0x00}, /* 0F: VCLK162 */
129129
{0x4d, 0x4c, 0x80}, /* 10: VCLK154 */
130-
{0xa7, 0x78, 0x80}, /* 11: VCLK83.5 */
130+
{0x68, 0x6f, 0x80}, /* 11: VCLK83.5 */
131131
{0x28, 0x49, 0x80}, /* 12: VCLK106.5 */
132132
{0x37, 0x49, 0x80}, /* 13: VCLK146.25 */
133133
{0x1f, 0x45, 0x80}, /* 14: VCLK148.5 */

0 commit comments

Comments
 (0)