]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: crtc: Move the BO handling out of common page-flip callback
authorMaxime Ripard <maxime@cerno.tech>
Fri, 10 Jun 2022 11:51:45 +0000 (13:51 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 09:07:52 +0000 (11:07 +0200)
commitfc27db5c14a0578c4c70be6d1078ae8f78861cac
tree4ad6c3210ff4fd42ad5afb4c85bf559a2c1169aa
parent4d4d8c17d1ebb7b7dae8840a91bc3f2c6edd1fc6
drm/vc4: crtc: Move the BO handling out of common page-flip callback

We'll soon introduce another completion callback source that won't need
to use the BO reference counting, so let's move it around to create a
function we will be able to share between both callbacks.

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220610115149.964394-11-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c