]> Gentwo Git Trees - linux/.git/commit
drm/ast: Store DRAM clock table in struct ast_device
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Oct 2025 14:54:42 +0000 (16:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Oct 2025 07:59:40 +0000 (09:59 +0200)
commit4b3374d790567e5eb3c83f1f70c396ddc5da603d
tree10ce8626ebd528bbc6452d2845b2a08b95b97eba
parentb076ed3017529ec528f2f28b8f37242a6a29a4b0
drm/ast: Store DRAM clock table in struct ast_device

Init the new field dclk_table in struct ast_device to the per-gen
table of DRAM clock parameters. Use the field during modesetting.

The table is static, so a setup is only required once. Removes the
call to IS_AST_GEN() from the atomic commit's code path.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20251007150343.273718-2-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_2000.c
drivers/gpu/drm/ast/ast_2100.c
drivers/gpu/drm/ast/ast_2200.c
drivers/gpu/drm/ast/ast_2300.c
drivers/gpu/drm/ast/ast_2400.c
drivers/gpu/drm/ast/ast_2500.c
drivers/gpu/drm/ast/ast_2600.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c