summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-08-26 08:49:24 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-09-04 12:29:41 +0200
commit6d580cf8093fc640e6e4cef3932ef176f1ea1c87 (patch)
tree61129b0add19a3e772b7ddeacb65ca4780a3927f /rust/helpers/task.c
parentdb216056a63b9ca415b72963605defad8107d6fc (diff)
drm/ast: Move DRAM info next to its only user
The only place in the ast driver that uses the DRAM type is the P2A DRAM initialization for Gen2 and Gen3 of the chip. Condense the code in ast_get_dram_info() to exactly this use case and move it into the Gen's custom source file. Remove the field dram_type from struct ast_device. The AST_DRAM_ constants are also used in Gen4 POST helpers, but independently from the dram_type field. No changes there. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://lore.kernel.org/r/20250826065032.344412-6-tzimmermann@suse.de
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions