drm/ast: Add I/O helpers without ast device
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Nov 2023 09:59:23 +0000 (10:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 28 Nov 2023 15:14:42 +0000 (16:14 +0100)
commitcdac0cd459cf282ccdc4f28f838a2375e5cf61f7
tree40ca7968b6befd66687b86920c8441f1f19769a3
parentb45efcfc94e8043d08344094a305bb4b8030c7df
drm/ast: Add I/O helpers without ast device

Implement I/O access in helpers that do not use an ast device
instance, but the raw pointer to the I/O memory. We'll later need
these helpers to detect the device type before allocating the ast
device instance.

v3:
* fix typo in commit message (Sui)

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