Skip to contentSkip to conversation

drm/ast: Support 1600x900 with 108MHz PCLK

PATCH In review KuoHsiang Chou 4 participants 7 messages Oct 30, 2020 – Dec 23, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/ast: Support 1600x900 with 108MHz PCLK

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

---
 drivers/gpu/drm/ast/ast_tables.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_tables.h +2 -0
index d665dd5af5dd..8414e543f260 100644
@@ -282,6 +282,8 @@ static const struct ast_vbios_enhtable res_1360x768[] = {
 };
 
 static const struct ast_vbios_enhtable res_1600x900[] = {
+	{1800, 1600, 24, 80,1000,  900, 1, 3, VCLK108,		/* 60Hz */
+	 (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo), 60, 3, 0x3A },
 	{1760, 1600, 48, 32, 926, 900, 3, 5, VCLK97_75,		/* 60Hz CVT RB */
 	 (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |
 	  AST2500PreCatchCRT), 60, 1, 0x3A },

--
2.18.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

Hi KuoHsiang

Quoted 4 lines · KuoHsiang Chou

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

Thomas Zimmermann <[email protected]> is listed as reviewer in MAINTAINERS, so included him in the list of receiver. get_maintainer.pl should have told you that.

Sam

Quoted 20 lines
---
 drivers/gpu/drm/ast/ast_tables.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_tables.h +2 -1
index d665dd5af5dd..8414e543f260 100644
@@ -282,6 +282,8 @@ static const struct ast_vbios_enhtable res_1360x768[] = {
 };
 
 static const struct ast_vbios_enhtable res_1600x900[] = {
+	{1800, 1600, 24, 80,1000,  900, 1, 3, VCLK108,		/* 60Hz */
+	 (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo), 60, 3, 0x3A },
 	{1760, 1600, 48, 32, 926, 900, 3, 5, VCLK97_75,		/* 60Hz CVT RB */
 	 (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |
 	  AST2500PreCatchCRT), 60, 1, 0x3A },
--

2.18.4

Quoted 4 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

#2 lore raw

Hi, Sam

Thanks for your teaching and the information got from v5.10-rc2 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/

Regards,
Kuo-Hsiang Chou

-----Original Message-----
From: Sam Ravnborg [mailto:[email protected]]
Sent: Sunday, November 01, 2020 5:19 PM
To: Kuo-Hsiang Chou <[email protected]>; Thomas Zimmermann <[email protected]>
Cc: [email protected]; [email protected]; Tommy Huang <[email protected]>; Jenmin Yuan <[email protected]>; [email protected]; Arc Sung <[email protected]>
Subject: Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

Hi KuoHsiang

Quoted 4 lines · KuoHsiang Chou

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

Thomas Zimmermann <[email protected]> is listed as reviewer in MAINTAINERS, so included him in the list of receiver. get_maintainer.pl should have told you that.

Sam

Quoted 22 lines
---
 drivers/gpu/drm/ast/ast_tables.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_tables.h +3 -1
index d665dd5af5dd..8414e543f260 100644
@@ -282,6 +282,8 @@ static const struct ast_vbios_enhtable 
 res_1360x768[] = {  };
 
 static const struct ast_vbios_enhtable res_1600x900[] = {
+	{1800, 1600, 24, 80,1000,  900, 1, 3, VCLK108,		/* 60Hz */
+	 (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | 
+NewModeInfo), 60, 3, 0x3A },
 	{1760, 1600, 48, 32, 926, 900, 3, 5, VCLK97_75,		/* 60Hz CVT RB */
 	 (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |
 	  AST2500PreCatchCRT), 60, 1, 0x3A },
--

2.18.4

Quoted 4 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

maintainer Acked-by on v1 1/1
#3 lore raw
In reply to KuoHsiang Chou

Hi

Am 30.10.20 um 08:42 schrieb KuoHsiang Chou:

Quoted 4 lines

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

I'll add your patch to drm-misc-next.

As Sam mentioned, you should use scripts/get_maintainers.pl to retrieve the relevant people. These include those in MAINTAINERS, but also developers that have previously worked on the code.

The easiest way is

git format-patch <rev^1>...<rev>

which results in a patch file. Then do

scripts/get_maintainers.pl <filename>

on the file. Please also run

scripts/checkpatch.pl <filename>

on the file to get a report on potential errors.

Best regards
Thomas

Quoted 25 lines
---
 drivers/gpu/drm/ast/ast_tables.h | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_tables.h +2 -1
index d665dd5af5dd..8414e543f260 100644
@@ -282,6 +282,8 @@ static const struct ast_vbios_enhtable res_1360x768[] = {
 };
 
 static const struct ast_vbios_enhtable res_1600x900[] = {
+	{1800, 1600, 24, 80,1000,  900, 1, 3, VCLK108,		/* 60Hz */
+	 (SyncPP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo), 60, 3, 0x3A },
 	{1760, 1600, 48, 32, 926, 900, 3, 5, VCLK97_75,		/* 60Hz CVT RB */
 	 (SyncNP | Charx8Dot | LineCompareOff | WideScreenMode | NewModeInfo |
 	  AST2500PreCatchCRT), 60, 1, 0x3A },
--

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

maintainer
#4 lore raw
Quoted 9 lines · Thomas Zimmermann

Hi

Am 30.10.20 um 08:42 schrieb KuoHsiang Chou:

Quoted 4 lines

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

Quoted 7 lines

I'll add your patch to drm-misc-next.

As Sam mentioned, you should use scripts/get_maintainers.pl to retrieve the relevant people. These include those in MAINTAINERS, but also developers that have previously worked on the code.

We are seeing a possible report of a regression on an ast2600 server with this patch.

I haven't ascertained that reverting it fixes it for the customer yet, but this is a heads up in case anyone else has seen issues.

Dave.

#5 lore raw

Hi

-----Original Message-----
From: Dave Airlie [mailto:[email protected]]
Sent: Wednesday, December 22, 2021 5:56 AM
To: Thomas Zimmermann <[email protected]>

Subject: Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

Quoted 9 lines · Thomas Zimmermann

Hi

Am 30.10.20 um 08:42 schrieb KuoHsiang Chou:

Quoted 4 lines

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

Quoted 7 lines

I'll add your patch to drm-misc-next.

As Sam mentioned, you should use scripts/get_maintainers.pl to retrieve the relevant people. These include those in MAINTAINERS, but also developers that have previously worked on the code.

We are seeing a possible report of a regression on an ast2600 server with this patch.

I haven't ascertained that reverting it fixes it for the customer yet, but this is a heads up in case anyone else has seen issues.

Hi Dave,

Yes, you're right, The patch needs to be removed. The patch occurs incorrect timing on CRT and ASTDP when 1600x900 are selected. So, do I need to commit a new patch to remove/revert it from drm/ast?

Regards,
Kuo-Hsiang Chou

Dave.

maintainer
#6 lore raw
Quoted 28 lines · Kuo-Hsiang Chou

Hi

-----Original Message-----
From: Dave Airlie [mailto:[email protected]]
Sent: Wednesday, December 22, 2021 5:56 AM
To: Thomas Zimmermann <[email protected]>

Subject: Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

Quoted 9 lines · Thomas Zimmermann

Hi

Am 30.10.20 um 08:42 schrieb KuoHsiang Chou:

Quoted 4 lines

[New] Create the setting for 1600x900 @60Hz refresh rate
by 108MHz pixel-clock.

Quoted 7 lines

I'll add your patch to drm-misc-next.

As Sam mentioned, you should use scripts/get_maintainers.pl to retrieve the relevant people. These include those in MAINTAINERS, but also developers that have previously worked on the code.

Quoted 8 lines

We are seeing a possible report of a regression on an ast2600 server with this patch.

I haven't ascertained that reverting it fixes it for the customer yet, but this is a heads up in case anyone else has seen issues.

Hi Dave,

Yes, you're right, The patch needs to be removed. The patch occurs incorrect timing on CRT and ASTDP when 1600x900 are selected. So, do I need to commit a new patch to remove/revert it from drm/ast?

Yes, do a git revert <commitd>

Fixup the resulting message, to say why, and add a
Fixes: <12 chars of sha1> ("commitmsg")

and send to the list.
Dave.