diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-07-06 18:26:38 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-07-09 14:36:14 +0200 |
| commit | 3c1ec4e8cbd6ff45d9eb7c9ba6675dfdce90ee8a (patch) | |
| tree | 3fd6e20d9f75a2bee6fd24c82142736a317e8ce1 /drivers/gpu/drm/ast/ast_drv.h | |
| parent | f67fb980e19d86664da8d04c6e10f7c2b35de404 (diff) | |
drm/ast: Move Gen6+ POST code to separate source file
Move POST code for Gen6+ to separate source file and hide it in
ast_2500_post(). With P2A configuration, it performs a full board
POST; otherwise it enables the transmitter chip. 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-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.h')
| -rw-r--r-- | drivers/gpu/drm/ast/ast_drv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h index 570c2fe98b58..4a92c377e9bd 100644 --- a/drivers/gpu/drm/ast/ast_drv.h +++ b/drivers/gpu/drm/ast/ast_drv.h @@ -417,6 +417,10 @@ struct ast_crtc_state { int ast_mm_init(struct ast_device *ast); +/* ast_2500.c */ +void ast_2500_patch_ahb(void __iomem *regs); +int ast_2500_post(struct ast_device *ast); + /* ast_2600.c */ int ast_2600_post(struct ast_device *ast); @@ -424,7 +428,6 @@ int ast_2600_post(struct ast_device *ast); int ast_post_gpu(struct ast_device *ast); u32 ast_mindwm(struct ast_device *ast, u32 r); void ast_moutdwm(struct ast_device *ast, u32 r, u32 v); -void ast_patch_ahb_2500(void __iomem *regs); int ast_vga_output_init(struct ast_device *ast); int ast_sil164_output_init(struct ast_device *ast); |
