drm/ast: Enable VGA without ast device instance
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Nov 2023 09:59:24 +0000 (10:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 28 Nov 2023 15:17:08 +0000 (16:17 +0100)
commit73b05bb4c0539d89111ed2f9c5a2eac1b577f83d
treed7c8ebf6cc45023a4eada3603e0c337cf3e2b2cf
parentcdac0cd459cf282ccdc4f28f838a2375e5cf61f7
drm/ast: Enable VGA without ast device instance

We'll have to enable the VGA functionality for detecting the ast
device type. Make this work without an instance of the ast device.

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