]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/ast: Use constants for SDRAM registers
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 27 Mar 2026 13:33:00 +0000 (14:33 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 8 Apr 2026 09:04:49 +0000 (11:04 +0200)
commit5da1fcb9cb69a3274b77747ffcc3f0a2223e253d
tree80243c3a154afe68c1d1eed9c307055e5acc22ed
parenta0320ef5a99090d5c5ee1f5fd40409b0c0035430
drm/ast: Use constants for SDRAM registers

Aspeed hardware allows for acceessing the SDRAM from the host. SDRAM
registers are located at the memory range at [0x80000000, 0xffffffff].

Refer to memory access with the macro AST_SDRAM(). Also add a TODO item
for the nonsensical documentation next to its caller.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260327133532.79696-9-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_2500.c
drivers/gpu/drm/ast/ast_reg.h