drm/ast: Fixed 1920x1080 sync. polarity issue
Subsystems (3)
PATCH 1/1 drm/ast: Fixed 1920x1080 sync. polarity issue
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to Positive
--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ast/ast_tables.h +2 -2
@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),0xFF ,1 ,0x38 }, };
--
2.18.4
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Thomas Zimmermann
maintainerHi,
please follow the advise we're giving you. Had you run scripts/checkpatch.pl on the patch file it would have told you
<<<
ERROR: patch seems to be corrupt (line wrapped?)
#102: FILE: drivers/gpu/drm/ast/ast_tables.h:294:
ERROR: DOS line endings
#106: FILE: drivers/gpu/drm/ast/ast_tables.h:297:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |^M$
ERROR: DOS line endings
#110: FILE: drivers/gpu/drm/ast/ast_tables.h:300:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |^M$
total: 3 errors, 0 warnings, 19 lines checked
Quoted 1 line
Quoted 1 line
Quoted 1 line
As said before, the mail [email protected] is still not relevant any longer. But you did not add Daniel into CC. Did you run scripts/get_maintainers.pl?
Best regards
Thomas
Am 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 33 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +2
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Thomas Zimmermann
maintainerHi
Am 05.11.20 um 13:08 schrieb Thomas Zimmermann:
Quoted 14 lines
Hi,
please follow the advise we're giving you. Had you run
scripts/checkpatch.plon the patch file it would have told you<<<
ERROR: patch seems to be corrupt (line wrapped?)
#102: FILE:drivers/gpu/drm/ast/ast_tables.h:294:ERROR: DOS line endings
#106: FILE:drivers/gpu/drm/ast/ast_tables.h:297:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |^M$
Quoted 7 lines
ERROR: DOS line endings
#110: FILE:drivers/gpu/drm/ast/ast_tables.h:300:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |^M$total: 3 errors, 0 warnings, 19 lines checked
Quoted 1 line
Quoted 1 line
Quoted 1 line
This might not be your fault but the result of my mail client.
Quoted 2 lines
As said before, the mail [email protected] is still not relevant any longer. But you did not add Daniel into CC. Did you run
scripts/get_maintainers.pl?
This still applies.
Best regards
Thomas
Quoted 45 lines
Best regards
ThomasAm 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 28 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +2
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
To Sir,
Is the mail-address of "[email protected]" correct for Daniel?
Because, got the message of " The current directory does not appear to be a linux kernel source tree. " after running get_maintainers.pl So, find Daniel out by gitk /drivers/gpu/drm/ast
Have a good day,
Kuo-Hsiang Chou
-----Original Message-----
From: Thomas Zimmermann [mailto:[email protected]]
Sent: Thursday, November 05, 2020 8:22 PM
To: Kuo-Hsiang Chou <[email protected]>; [email protected]
Cc: Jenmin Yuan <[email protected]>; [email protected]; Tommy Huang <[email protected]>; Arc Sung <[email protected]>; [email protected]
Subject: Re: [PATCH] drm/ast: Fixed 1920x1080 sync. polarity issue
Hi
Am 05.11.20 um 13:08 schrieb Thomas Zimmermann:
Quoted 15 lines
Hi,
please follow the advise we're giving you. Had you run
scripts/checkpatch.plon the patch file it would have told you<<<
ERROR: patch seems to be corrupt (line wrapped?)
#102: FILE:drivers/gpu/drm/ast/ast_tables.h:294:ERROR: DOS line endings
#106: FILE:drivers/gpu/drm/ast/ast_tables.h:297:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | +NewModeInfo |^M$
Quoted 8 lines
ERROR: DOS line endings
#110: FILE:drivers/gpu/drm/ast/ast_tables.h:300:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | +NewModeInfo |^M$total: 3 errors, 0 warnings, 19 lines checked
Quoted 1 line
Quoted 1 line
Quoted 1 line
This might not be your fault but the result of my mail client.
Quoted 2 lines
As said before, the mail [email protected] is still not relevant any longer. But you did not add Daniel into CC. Did you run
scripts/get_maintainers.pl?
This still applies.
Best regards
Thomas
Quoted 36 lines
Best regards
ThomasAm 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 31 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +4
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | +NewModeInfo | AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | +NewModeInfo | AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
Quoted 12 lines
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
To Sir
Yes, I ran scripts/checkpatch.pl and cleared 3 errors about tailing spaces.
OK, would you please give me the mail-address of Daniel? And <[email protected]> will be removed from CC.
Because I ran get_maintainers.pl and got the result of " The current directory does not appear to be a linux kernel source tree. " So, I got the information from MAINTAINERS by keyword of "/drm/ast", likes as:
DRM DRIVER FOR AST SERVER GRAPHICS CHIPS
M: Dave Airlie <[email protected]>
R: Thomas Zimmermann <[email protected]>
L: [email protected]
S: Supported
T: git git://anongit.freedesktop.org/drm/drm-misc
F: drivers/gpu/drm/ast/
Thanks and Have a good day,
Kuo-Hsiang Chou
-----Original Message-----
From: Thomas Zimmermann [mailto:[email protected]]
Sent: Thursday, November 05, 2020 8:09 PM
To: Kuo-Hsiang Chou <[email protected]>; [email protected]
Cc: [email protected]; Tommy Huang <[email protected]>; Jenmin Yuan <[email protected]>; [email protected]; Arc Sung <[email protected]>
Subject: Re: [PATCH] drm/ast: Fixed 1920x1080 sync. polarity issue
Hi,
please follow the advise we're giving you. Had you run scripts/checkpatch.pl on the patch file it would have told you
<<<
ERROR: patch seems to be corrupt (line wrapped?)
#102: FILE: drivers/gpu/drm/ast/ast_tables.h:294:
ERROR: DOS line endings
#106: FILE: drivers/gpu/drm/ast/ast_tables.h:297:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +|^M$
ERROR: DOS line endings
#110: FILE: drivers/gpu/drm/ast/ast_tables.h:300:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +|^M$
total: 3 errors, 0 warnings, 19 lines checked
Quoted 1 line
Quoted 1 line
Quoted 1 line
As said before, the mail [email protected] is still not relevant any longer. But you did not add Daniel into CC. Did you run scripts/get_maintainers.pl?
Best regards
Thomas
Am 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 31 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +4
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +| AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +| AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Thomas Zimmermann
maintainerHi
Am 06.11.20 um 01:31 schrieb Kuo-Hsiang Chou:
Quoted 5 lines
To Sir
Yes, I ran
scripts/checkpatch.pland cleared 3 errors about tailing spaces.OK, would you please give me the mail-address of Daniel?
It's <[email protected]>
Quoted 1 line
And <[email protected]> will be removed from CC.
Thanks!
Quoted 1 line
Because I ran get_maintainers.pl and got the result of " The current directory does not appear to be a linux kernel source tree. "
Strange, that sounds like a problem in your setup. Go to the actual directory where you checkout out the Linux source code; where the MAINTAINERS file is located. From there use
scripts/get_maintainers.pl
That should work.
Best regards
Thomas
Quoted 97 lines
So, I got the information from
MAINTAINERSby keyword of "/drm/ast", likes as:
DRM DRIVER FOR AST SERVER GRAPHICS CHIPS
M: Dave Airlie <[email protected]>
R: Thomas Zimmermann <[email protected]>
L: [email protected]
S: Supported
T: gitgit://anongit.freedesktop.org/drm/drm-misc
F:drivers/gpu/drm/ast/Thanks and Have a good day,
Kuo-Hsiang Chou-----Original Message-----
From: Thomas Zimmermann [mailto:[email protected]]
Sent: Thursday, November 05, 2020 8:09 PM
To: Kuo-Hsiang Chou <[email protected]>; [email protected]
Cc: [email protected]; Tommy Huang <[email protected]>; Jenmin Yuan <[email protected]>; [email protected]; Arc Sung <[email protected]>
Subject: Re: [PATCH] drm/ast: Fixed 1920x1080 sync. polarity issueHi,
please follow the advise we're giving you. Had you run
scripts/checkpatch.plon the patch file it would have told you<<<
ERROR: patch seems to be corrupt (line wrapped?)
#102: FILE:drivers/gpu/drm/ast/ast_tables.h:294:ERROR: DOS line endings
#106: FILE:drivers/gpu/drm/ast/ast_tables.h:297:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +|^M$ERROR: DOS line endings
#110: FILE:drivers/gpu/drm/ast/ast_tables.h:300:
+^I (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +|^M$total: 3 errors, 0 warnings, 19 lines checked
Quoted 1 line
Quoted 1 line
Quoted 1 line
As said before, the mail [email protected] is still not relevant any longer. But you did not add Daniel into CC. Did you run
scripts/get_maintainers.pl?Best regards
ThomasAm 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 31 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +4
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +| AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo +| AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi
Am 05.11.20 um 10:47 schrieb KuoHsiang Chou:
Quoted 4 lines
[Bug] Change the vertical synchroous polary of 1920x1080 @60Hz
from Negtive to PositiveSigned-off-by KuoHsiang Chou <[email protected]>
I've merged this patch. Thanks!
Best regards
Thomas
Quoted 24 lines
--- drivers/gpu/drm/ast/ast_tables.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/ast/ast_tables.h +2
-3@@ -295,10 +295,10 @@ static const struct ast_vbios_enhtable res_1600x900[] = {static const struct ast_vbios_enhtable res_1920x1080[] = { {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),60 ,1 ,0x38 }, {2200 ,1920 ,88 ,44 ,1125 ,1080 ,4 ,5 ,VCLK148_5 ,/* 60Hz */ - (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | + (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo | AST2500PreCatchCRT),0xFF ,1 ,0x38 }, }; --2.18.4
Signature · 10 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel