Skip to contentSkip to conversation

drm/ast: Enable the supporting of wide screen on AST2600

PATCH In review KuoHsiang Chou 2 participants 2 messages Dec 29, 2021 – Jan 6, 2022

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

PATCH 1/1 drm/ast: Enable the supporting of wide screen on AST2600

Enable the supporting of wide sscreen on AST2600, so that the resolution of 16:9 and 16:10 are able to be selected on Display Settings.

---
 drivers/gpu/drm/ast/ast_main.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_main.c +2 -0
index 9f25fa2c8..1113ee1cb 100644
@@ -209,6 +209,8 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post)
 			if (ast->chip == AST2500 &&
 			    scu_rev == 0x100)           /* ast2510 */
 				ast->support_wide_screen = true;
+			if (ast->chip == AST2600)		/* ast2600 */
+				ast->support_wide_screen = true;
 		}
 		break;
 	}

--
2.27.0

#1 lore raw

Hi

Am 29.12.21 um 09:27 schrieb KuoHsiang Chou:

Quoted 4 lines

Enable the supporting of wide sscreen on AST2600, so that the resolution of 16:9 and 16:10 are able to be selected on Display Settings.

Added to drm-misc-next. Thanks for the patch.

Best regards
Thomas

Quoted 20 lines
---
  drivers/gpu/drm/ast/ast_main.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_main.c +2 -1
index 9f25fa2c8..1113ee1cb 100644
@@ -209,6 +209,8 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post)
  			if (ast->chip == AST2500 &&
  			    scu_rev == 0x100)           /* ast2510 */
  				ast->support_wide_screen = true;
+			if (ast->chip == AST2600)		/* ast2600 */
+				ast->support_wide_screen = true;
  		}
  		break;
  	}
--

2.27.0

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: Ivo Totev