[PATCH v2 14/14] drm/ast: Merge config and chip detection

2023-06-21 Thread Thomas Zimmermann
Detection of the configuration mode and the chipset model are linked to each other. One uses values from the other; namely the PCI device revision and the SCU revision. Merge this code into a single function. Signed-off-by: Thomas Zimmermann Reviewed-by: Jocelyn Falempe Tested-by: Jocelyn Falemp

Re: [14/14] drm/ast: Merge config and chip detection

2023-06-19 Thread Thomas Zimmermann
Hi Am 19.06.23 um 05:15 schrieb Sui Jingfeng: Hi, On 2023/6/16 21:52, Thomas Zimmermann wrote: Detection of the configuration mode and the chipset model are linked to each other. They don't  has a strong relationship,  chipset model detection should the first function to be run(should be ru

Re: [14/14] drm/ast: Merge config and chip detection

2023-06-18 Thread Sui Jingfeng
Hi, On 2023/6/16 21:52, Thomas Zimmermann wrote: Detection of the configuration mode and the chipset model are linked to each other. They don't  has a strong relationship,  chipset model detection should the first function to be run(should be run early). chipset model detection should only

[PATCH 14/14] drm/ast: Merge config and chip detection

2023-06-16 Thread Thomas Zimmermann
Detection of the configuration mode and the chipset model are linked to each other. One uses values from the other; namely the PCI device revision and the SCU revision. Merge this code into a single function. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_main.c | 108 +