aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKuoHsiang Chou <kuohsiang_chou@aspeedtech.com>2021-12-29 16:27:49 +0800
committerThomas Zimmermann <tzimmermann@suse.de>2022-01-06 10:02:07 +0100
commit59a39fcc21c56845e74bf60c1177925bb0255de4 (patch)
treeb7ef11f335927d980afecaf525e92ba7b2284649
parentdrm/panel: Update Boe-tv110c9m initial code (diff)
downloadwireguard-linux-59a39fcc21c56845e74bf60c1177925bb0255de4.tar.xz
wireguard-linux-59a39fcc21c56845e74bf60c1177925bb0255de4.zip
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. Signed-off-by: KuoHsiang Chou <kuohsiang_chou@aspeedtech.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20211229082749.5415-1-kuohsiang_chou@aspeedtech.com
-rw-r--r--drivers/gpu/drm/ast/ast_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c
index 79a361867955..22e9e2d3c71a 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -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;
}