mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 11:55:31 -04:00
drm/ast: Move Gen4+ POST code to separate source file
Move POST code for Gen4+ to separate source file and hide it in ast_2300_post(). With P2A configuration, it performs a full board POST and enables the transmitter chip; otherwise it only enables the transmitter chip. Also fix coding style in several places. No changes to the overall logic. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://lore.kernel.org/r/20250706162816.211552-5-tzimmermann@suse.de
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
||||
|
||||
ast-y := \
|
||||
ast_2300.o \
|
||||
ast_2500.o \
|
||||
ast_2600.o \
|
||||
ast_cursor.o \
|
||||
|
||||
1295
drivers/gpu/drm/ast/ast_2300.c
Normal file
1295
drivers/gpu/drm/ast/ast_2300.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -417,6 +417,9 @@ struct ast_crtc_state {
|
||||
|
||||
int ast_mm_init(struct ast_device *ast);
|
||||
|
||||
/* ast_2300.c */
|
||||
int ast_2300_post(struct ast_device *ast);
|
||||
|
||||
/* ast_2500.c */
|
||||
void ast_2500_patch_ahb(void __iomem *regs);
|
||||
int ast_2500_post(struct ast_device *ast);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user