]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/ast: Move Gen4+ POST code to separate source file
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 6 Jul 2025 16:26:39 +0000 (18:26 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 9 Jul 2025 12:36:17 +0000 (14:36 +0200)
commit0f336e9cffeef3c0655aca400a4574e0a140deeb
treeb00bd24c9bc8ff80cf9c3a4be6067760a1f789f5
parent3c1ec4e8cbd6ff45d9eb7c9ba6675dfdce90ee8a
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
drivers/gpu/drm/ast/Makefile
drivers/gpu/drm/ast/ast_2300.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_post.c