RFC: compositor-drm: Release buffer earlier if we have a release fence

If we have a release fence for a buffer, and that buffer would be
released after the pending commit is done, release the buffer before the
commit is done to allow the compositor to potentially emit the
fenced_release event earlier.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2 jobs for linux-explicit-sync-kms-release in 4 minutes and 28 seconds (queued for 6 minutes and 27 seconds)
latest
Status Job ID Name Coverage
  Build
passed #180106
build-native-autotools

00:04:28

passed #180107
build-native-meson

00:02:19