]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/ast: Refactor ast_post_gpu() by Gen
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 17 Jan 2025 10:29:08 +0000 (11:29 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 22 Jan 2025 12:52:48 +0000 (13:52 +0100)
commitb40e209130bff435c8dcd17660cb4614ae62a3fb
tree022084a10e78c332c00d570d4b7c5e7e72c7db63
parentbe1c00b180f1c580c93e585058e64df51fcfd4c2
drm/ast: Refactor ast_post_gpu() by Gen

Reorganize ast_post_gpu() so that it first branches by Gen and then
by config mode and TX chip. This will later make it possible to split
up the function by Gen.

The helper ast_init_3rdtx() only handles Gen4 and Gen5, so leave it
out from the other Gens.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117103450.28692-4-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_post.c