diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-09-22 10:36:08 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-09-29 13:28:13 +0200 |
| commit | f60a559a9e2467570dbad9ad2fb96add8e5246ec (patch) | |
| tree | e89e047fa4aa9fc7cca0ad57e7c4fc76680ea788 /tools/perf/scripts/python/git@git.tavy.me:linux-stable.git | |
| parent | 6ee51e5c72cf45bd70638ce7fe6e3906148c1fcf (diff) | |
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
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
