diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-07-06 18:26:43 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-07-09 14:36:21 +0200 |
commit | b1ce4ab06f70fa1dea6b4b6a372aa43989c55897 (patch) | |
tree | 4950ce4e98353f14d53d99211174cdbeb7aeb1a8 /drivers/gpu/drm/ast/ast_2500.c | |
parent | eb104c69db707ce0208f753a897dadd39f51342f (diff) |
drm/ast: Split ast_set_def_ext_reg() by chip generation
Duplicate ast_set_def_ext_reg() for individual chip generations
and move call it into per-chip source files. Remove the original
code. AST2100 and AST2500 reuse the function from earlier chips.
AST2600 appears to be incorrect as it uses an older function. Keep
this behavior for now.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250706162816.211552-9-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_2500.c')
-rw-r--r-- | drivers/gpu/drm/ast/ast_2500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_2500.c b/drivers/gpu/drm/ast/ast_2500.c index e5b3e0c63222..1e541498ea67 100644 --- a/drivers/gpu/drm/ast/ast_2500.c +++ b/drivers/gpu/drm/ast/ast_2500.c @@ -554,6 +554,8 @@ static void ast_post_chip_2500(struct ast_device *ast) int ast_2500_post(struct ast_device *ast) { + ast_2300_set_def_ext_reg(ast); + if (ast->config_mode == ast_use_p2a) { ast_post_chip_2500(ast); } else { |