drm/vc4: kms: Convert to atomic helpers
authorMaxime Ripard <maxime@cerno.tech>
Fri, 4 Dec 2020 15:11:38 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 15 Dec 2020 10:36:13 +0000 (11:36 +0100)
commitf3c420fe19f8cc39adf379365decf63167596dc3
tree661cae2dc96bb5a6e88a434398eb76e862d6442a
parent82faa3276012d272d930026e7666d978ef2c6fef
drm/vc4: kms: Convert to atomic helpers

Now that the semaphore is gone, our atomic_commit implementation is
basically drm_atomic_helper_commit with a somewhat custom commit_tail,
the main difference being that we're using wait_for_flip_done instead of
wait_for_vblanks used in the drm_atomic_helper_commit_tail helper.

Let's switch to using drm_atomic_helper_commit.

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