]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: kms: Remove unassigned_channels from the HVS state
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Dec 2020 15:11:36 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 15 Dec 2020 10:36:11 +0000 (11:36 +0100)
commit88771fcf65442c29ac7ed5d8cf3a51307585259a
tree3078aefc840ec0d81ac743c82babd9b5ce56d570
parent4c39a07c780040046074ce7c24103cc03b7bd05a
drm/vc4: kms: Remove unassigned_channels from the HVS state

The HVS state now has both unassigned_channels that reflects the
channels that are not used in the associated state, and the in_use
boolean for each channel that says whether or not a particular channel
is in use.

Both express pretty much the same thing, and we need the in_use variable
to properly track the commits, so let's get rid of unassigned_channels.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201204151138.1739736-6-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c