Detection and initialization of TX chips is mixed up with each other and other device-probing code. Move it into one place and reorganize branches by Aspeed Gen. This series is another step towards separating the TX code from the rest of the driver and making each hardware gen self-contained. Tested on AST 1100, 2300, 2500 and 2600. Thomas Zimmermann (8): drm/ast: Detect wide-screen support before creating modeset pipeline drm/ast: Detect DRAM before TX-chip drm/ast: Refactor ast_post_gpu() by Gen drm/ast: Initialize ASTDP in ast_post_gpu() drm/ast: Hide Gens 1 to 3 TX detection in branch drm/ast: Align Gen1 DVO detection to register manual drm/ast: Merge TX-chip detection code for Gen4 and later drm/ast: Only warn about unsupported TX chips on Gen4 and later drivers/gpu/drm/ast/ast_drv.c | 6 +- drivers/gpu/drm/ast/ast_drv.h | 2 +- drivers/gpu/drm/ast/ast_main.c | 113 +++++++++++++++++++-------------- drivers/gpu/drm/ast/ast_post.c | 49 ++++++++++---- drivers/gpu/drm/ast/ast_reg.h | 1 + 5 files changed, 107 insertions(+), 64 deletions(-) -- 2.47.1