summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-09-22 10:36:03 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-09-29 13:28:09 +0200
commit59fedf46f782c024b74ceab7868e13f0e0f10c45 (patch)
treef5d444652a3b4f89765aaa5b339448a50d57edf6 /rust/kernel/alloc/allocator/git@git.tavy.me:linux.git
parentbcb011913488c5c8c17108d533ff6dee78527464 (diff)
drm/ast: Split ast_detect_tx_chip() per chip generation
Gen4 and later models detect the TX chip from VGACRD1, while earlier models detect from VGACRA3. Split up the detection helper into two separate helpers. Use SZ_ constants instead of plain numbers. Then inline the call into its only caller ast_device_create(). When ast_device_create() gets split up per Gen, either call will remain. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://lore.kernel.org/r/20250922083708.45564-4-tzimmermann@suse.de
Diffstat (limited to 'rust/kernel/alloc/allocator/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions