drm/ast: Remove device POSTing and config from chip detection
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 21 Jun 2023 12:53:39 +0000 (14:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 12:26:29 +0000 (14:26 +0200)
commit3bfe25b5119d6d8f2c9105840d9b0282c69c48d8
tree524b2c2bd35d56074f8d20e02d9cff4136592259
parenta980cac8368b040d00f59f629b94624f8c559d54
drm/ast: Remove device POSTing and config from chip detection

There's way too much going on in ast_detect_chip(). Move the POST
and config code from the top of the function into the caller. No
functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com> # AST2600
Link: https://patchwork.freedesktop.org/patch/msgid/20230621130032.3568-6-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_main.c