linux/drivers/gpu/drm/ast
Thomas Zimmermann f60a559a9e drm/ast: Move Gen4 device initialization into separate helper
Split off device initialization for Gen4 hardware into the helpers
ast_2300_device_create() and ast_2300_detect_wide_screen(). The new
functions are duplicates of their counterparts in ast_main.c, but
stripped from most non-Gen4 support.

Simplifies maintenance as the driver's number of supported hardware
generations grows.

v2:
- simplify widescreen-detection logic

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250922083708.45564-9-tzimmermann@suse.de
History 2025-09-29 13:28:13 +02:00
..
ast_2000.c drm/ast: Move Gen1 device initialization into separate helper 2025-09-29 13:28:11 +02:00
ast_2100.c drm/ast: Move Gen2 device initialization into separate helper 2025-09-29 13:28:11 +02:00
ast_2200.c drm/ast: Move Gen3 device initialization into separate helper 2025-09-29 13:28:12 +02:00
ast_2300.c drm/ast: Move Gen4 device initialization into separate helper 2025-09-29 13:28:13 +02:00
ast_2500.c drm/ast: Move display-clock tables to per-Gen source files 2025-09-29 13:28:07 +02:00
ast_2600.c drm/ast: Gen7: Switch default registers to gen4+ state 2025-07-09 14:36:23 +02:00
ast_cursor.c drm/ast: Remove vaddr field from struct ast_plane 2025-04-07 15:08:48 +02:00
ast_ddc.c drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_ddc.h drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_dp.c drm-misc-next for v6.15: 2025-02-14 10:24:02 +10:00
ast_dp501.c drm/ast: Use TX-chip register constants 2024-09-18 14:20:20 +02:00
ast_drv.c drm/ast: Move Gen4 device initialization into separate helper 2025-09-29 13:28:13 +02:00
ast_drv.h drm/ast: Move Gen4 device initialization into separate helper 2025-09-29 13:28:13 +02:00
ast_main.c drm/ast: Prepare per-Gen device initialization 2025-09-29 13:28:10 +02:00
ast_mm.c drm/ast: Remove vram_fb_available from struct ast_device 2025-03-12 08:38:12 +01:00
ast_mode.c drm/ast: Move display-clock tables to per-Gen source files 2025-09-29 13:28:07 +02:00
ast_post.c drm/ast: Split ast_set_def_ext_reg() by chip generation 2025-07-09 14:36:21 +02:00
ast_post.h drm/ast: Gen7: Switch default registers to gen4+ state 2025-07-09 14:36:23 +02:00
ast_reg.h drm/ast: Add VGACR99 register constants 2025-03-12 08:38:10 +01:00
ast_sil164.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
ast_tables.h drm/ast: Move display-clock tables to per-Gen source files 2025-09-29 13:28:07 +02:00
ast_vbios.c drm/ast: Add helpers for VBIOS mode lookup 2025-02-03 14:01:12 +01:00
ast_vbios.h drm/ast: Add helpers for VBIOS mode lookup 2025-02-03 14:01:12 +01:00
ast_vga.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile drm/ast: Move Gen3 device initialization into separate helper 2025-09-29 13:28:12 +02:00