[PATCH v3] drm/ast: fixed reading monitor EDID not stable issue

2018-11-22 Thread Y.C. Chen
From: "Y.C. Chen" v1: over-sample data to increase the stability with some specific monitors v2: refine to avoid infinite loop v3: remove un-necessary "volatile" declaration Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 34 --

[[PATCH v2]] drm/ast: fixed reading monitor EDID not stable issue

2018-10-31 Thread Y.C. Chen
From: "Y.C. Chen" v1: over-sample data to increase the stability with some specific monitors v2: refine to avoid infinite loop Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) di

[PATCH] drm/ast: fixed reading monitor EDID not stable issue

2018-10-30 Thread Y.C. Chen
From: "Y.C. Chen" over-sample data to increase the stability with some specific monitors Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c

[PATCH] drm/ast: fixed cursor may disappear sometimes

2018-10-30 Thread Y.C. Chen
From: "Y.C. Chen" Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 5e77d45..4e079d4 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/d

[PATCH] drm/ast: change resolution may cause screen blurred

2018-10-03 Thread Y.C. Chen
From: "Y.C. Chen" The value of pitches is not correct while calling mode_set. The issue we found so far on following system: - Debian8 with XFCE Desktop - Ubuntu with KDE Desktop - SUSE15 with KDE Desktop Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 1 + 1 file

[PATCH] drm/ast: change resolution may cause screen blurred

2018-10-01 Thread Y.C. Chen
From: "Y.C. Chen" The value of pitches is not correct while calling mode_set. The issue we found so far on following system: - Debian8 with XFCE Desktop - Ubuntu with KDE Desktop - SUSE15 with KDE Desktop Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 1 + 1 file

[PATCH] drm/ast: Fixed reboot test may cause system hanged

2018-04-10 Thread Y.C. Chen
From: "Y.C. Chen" There is another thread still access standard VGA I/O while loading drm driver. Disable standard VGA I/O decode to avoid this issue. Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_main.c | 5 - drivers/gpu/drm/ast/ast_mode.c | 2 +- drivers/gpu/drm/ast/

[PATCH] drm/ast: Fixed 1280x800 Display Issue

2018-03-11 Thread Y.C. Chen
From: "Y.C. Chen" 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 --- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

[PATCH] drm/ast: Fixed system hanged if disable P2A

2017-01-25 Thread Y.C. Chen
From: "Y.C. Chen" The original ast driver will access some BMC configuration through P2A bridge that can be disabled since AST2300 and after. It will cause system hanged if P2A bridge is disabled. Here is the update to fix it. Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_dr

[PATCH] drm/ast: Support AST2500

2017-01-11 Thread Y.C. Chen
From: "Y.C. Chen" Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_drv.h| 2 + drivers/gpu/drm/ast/ast_main.c | 27 ++- drivers/gpu/drm/ast/ast_mode.c | 25 +- drivers/gpu/drm/ast/ast_post.c | 510 ++- drivers/gpu/drm/ast/ast_tabl

[PATCH] drm/ast: Fixed system may hang in booting

2016-11-30 Thread Y.C. Chen
From: "Y.C. Chen" There is another thread still access standard VGA I/O while loading drm driver. Disable standard VGA access to avoid this issue. Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_main.c | 6 ++ drivers/gpu/drm/ast/ast_post.c | 6 +- 2 files changed, 7

[PATCH 2/2] drm/ast: AST2000 cannot be detected correctly

2014-09-10 Thread Y.C. Chen
From: "Y.C. Chen" Type error and cause AST2000 cannot be detected correctly Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c index b027e3

[PATCH 1/2] drm/ast: open key before detect chips

2014-09-10 Thread Y.C. Chen
From: "Y.C. Chen" Some config settings like 3rd TX chips will not get correctly if the extended reg is protected Signed-off-by: Y.C. Chen --- 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/

[PATCH v3] drm/ast: Add reduced blanking modes for wide screen mode

2014-08-28 Thread Y.C. Chen
From: "Y.C. Chen" Signed-off-by: Egbert Eich Signed-off-by: Y.C. Chen v3: based on [PATCH 1/2] drm/ast: Add missing entry to dclk_table[]. Add reduced blanking modes, improve mode matching to identify these modes by thier sync polarities. --- drivers/gpu/drm/ast/ast_mod

[PATCH v2] drm/ast: Improve mode matching

2014-08-27 Thread Y.C. Chen
From: "Y.C. Chen" Signed-off-by: Egbert Eich Signed-off-by: Y.C. Chen v2: Add two pass mode selection, first try to match sync polarities and refresh if this fails, try matching refresh only. Suggested by: Egbert Eich --- drivers/gpu/drm/ast/ast_mod

[PATCH 2/2] drm/ast: Add reduced/non-reduced mode parsing for wide screen mode

2014-08-22 Thread Y.C. Chen
From: "Y.C. Chen" Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 32 +++--- drivers/gpu/drm/ast/ast_tables.h | 42 2 files changed, 50 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/ast/as

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

2014-08-22 Thread Y.C. Chen
From: "Y.C. Chen" This avoid reading past the end of the list for certain modes Signed-off-by: Y.C. Chen --- 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..05c0

[PATCH] Fixed 1600x900 Display Issue

2014-08-19 Thread Y.C. Chen
From: "Y.C. Chen" --- drivers/gpu/drm/ast/ast_mode.c | 27 +- drivers/gpu/drm/ast/ast_tables.h | 42 ++-- 2 files changed, 41 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/g