]> Gentwo Git Trees - linux/.git/commit
drm/ast: Store CRTC memory request threshold in device quirks
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Oct 2025 14:54:44 +0000 (16:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 15 Oct 2025 07:59:43 +0000 (09:59 +0200)
commit2f9d9041adbe9193f69de3aae8f09db4f23699f1
tree0ab62311bb6b3bb57734dea5060f6b35a3808585
parent703f4731264843161ee074232a7060ea2cdebbdf
drm/ast: Store CRTC memory request threshold in device quirks

Store each hardware's CRTC memory threshold in the specific instance
of struct ast_device_quirks. Removes the calls to IS_AST_GENn() from
ast_set_crtthd_reg().

The values stored in the registers appear to be plain limits. Hence
write them in the driver in decimal format instead of hexadecimal.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20251007150343.273718-4-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_2000.c
drivers/gpu/drm/ast/ast_2100.c
drivers/gpu/drm/ast/ast_2200.c
drivers/gpu/drm/ast/ast_2300.c
drivers/gpu/drm/ast/ast_2400.c
drivers/gpu/drm/ast/ast_2500.c
drivers/gpu/drm/ast/ast_2600.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c