diff options
author | Simon Ser <contact@emersion.fr> | 2023-10-20 10:19:38 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-27 13:47:37 +0200 |
commit | 0226ba393eb1a90d63955cc407340c5d506ecacf (patch) | |
tree | 0ff0ed99830d79fd68e5fcde3270aedf4b9505df /drivers/dma/qcom/bam_dma.c | |
parent | 80683bf48afcdbebbaf51057e71b2701aa07826d (diff) | |
download | linux-stable-0226ba393eb1a90d63955cc407340c5d506ecacf.tar.gz linux-stable-0226ba393eb1a90d63955cc407340c5d506ecacf.tar.bz2 linux-stable-0226ba393eb1a90d63955cc407340c5d506ecacf.zip |
drm: extract closefb logic in separate function
drm_mode_rmfb performs two operations: drop the FB from the
file_priv->fbs list, and make sure the FB is no longer used on a
plane.
In the next commit an IOCTL which only does so former will be
introduced, so let's split it into a separate function.
No functional change, only refactoring.
v2: no change
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Dennis Filder <d.filder@web.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231020101926.145327-1-contact@emersion.fr
Diffstat (limited to 'drivers/dma/qcom/bam_dma.c')
0 files changed, 0 insertions, 0 deletions