projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506d9d7
)
drm/ast: Enable the supporting of wide screen on AST2600
author
KuoHsiang Chou
<kuohsiang_chou@aspeedtech.com>
Wed, 29 Dec 2021 08:27:49 +0000
(16:27 +0800)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Thu, 6 Jan 2022 09:02:07 +0000
(10:02 +0100)
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
drivers/gpu/drm/ast/ast_main.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ast/ast_main.c
b/drivers/gpu/drm/ast/ast_main.c
index 79a36186795542f40b72b5e1f2e82e834e3e30af..22e9e2d3c71abd6fd1f5f6b0d0e63dc309416b25 100644
(file)
--- 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;
}