]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: remove drm_plane_cleanup() destroy hook
authorDanilo Krummrich <dakr@redhat.com>
Wed, 3 Aug 2022 14:55:20 +0000 (16:55 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Fri, 19 Aug 2022 14:00:15 +0000 (16:00 +0200)
commit5c2dab349894b1291e765ad91540526f6b990416
tree9098632ea08554b2e6ae048d51ddb57016cbd1c9
parent266c4676c975ea5705d63176135b61364ae7e377
drm/virtio: remove drm_plane_cleanup() destroy hook

drmm_universal_plane_alloc() already registers drm_plane_cleanup() as
managed release action via drmm_add_action_or_reset(). Hence,
drm_plane_cleanup() should not be set as drm_plane_funcs.destroy hook.

Fixes: 3df15df928d5 ("drm/virtio: plane: use drm managed resources")
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220803145520.1143208-1-dakr@redhat.com
drivers/gpu/drm/virtio/virtgpu_plane.c