]> 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)
commit532effb4811d61b347e847aaee8c59bd269b550f
tree4ad6c3210ff4fd42ad5afb4c85bf559a2c1169aa
parent49a28ebc2f60c06c79e737446f7887b96dee9e5b
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