]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ast: Remove TX-chip bitmask
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Sep 2024 13:25:29 +0000 (15:25 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Sep 2024 10:49:00 +0000 (12:49 +0200)
commit970b867d5bd483c4879a343fb894972ca5678d22
tree92b5eab0ce8ded5c0d2c4f1d3f099fd6c3058523
parent61b86391fb5d7b9cad35169b1660119754a01134
drm/ast: Remove TX-chip bitmask

The CRTC has only one output attached to it. Store the output's type
of TX chip in a single field and remove the related bitmask.

Turn the type-less output field in struct ast_device into a union, as
only one of its fields will be used at a time.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240903132601.91618-1-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_dp501.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_mode.c
drivers/gpu/drm/ast/ast_post.c