From 8299d1f057439f94c6a4412e2e5c5082b82a30c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sat, 21 Aug 2021 10:54:34 +0200 Subject: bcm27xx: add kernel 5.10 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted patches, wireless patches and defconfig patches. bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 4B v1.1 4G bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas --- ...ove-unnecessary-drm_plane_cleanup-wrapper.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 target/linux/bcm27xx/patches-5.10/950-0687-drm-vc4-Remove-unnecessary-drm_plane_cleanup-wrapper.patch (limited to 'target/linux/bcm27xx/patches-5.10/950-0687-drm-vc4-Remove-unnecessary-drm_plane_cleanup-wrapper.patch') diff --git a/target/linux/bcm27xx/patches-5.10/950-0687-drm-vc4-Remove-unnecessary-drm_plane_cleanup-wrapper.patch b/target/linux/bcm27xx/patches-5.10/950-0687-drm-vc4-Remove-unnecessary-drm_plane_cleanup-wrapper.patch new file mode 100644 index 0000000000..c5c3bab555 --- /dev/null +++ b/target/linux/bcm27xx/patches-5.10/950-0687-drm-vc4-Remove-unnecessary-drm_plane_cleanup-wrapper.patch @@ -0,0 +1,39 @@ +From c7b252e6121b8c72d0e0540478658485eaeebe86 Mon Sep 17 00:00:00 2001 +From: Laurent Pinchart +Date: Wed, 17 Jan 2018 23:15:18 +0200 +Subject: [PATCH] drm: vc4: Remove unnecessary drm_plane_cleanup() + wrapper + +Use the drm_plane_cleanup() function directly as the drm_plane_funcs +.destroy() handler without creating an unnecessary wrapper around it. + +Signed-off-by: Laurent Pinchart +Acked-by: Maxime Ripard +Acked-by: Daniel Vetter +--- + drivers/gpu/drm/vc4/vc4_plane.c | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +--- a/drivers/gpu/drm/vc4/vc4_plane.c ++++ b/drivers/gpu/drm/vc4/vc4_plane.c +@@ -1363,11 +1363,6 @@ static const struct drm_plane_helper_fun + .atomic_async_update = vc4_plane_atomic_async_update, + }; + +-static void vc4_plane_destroy(struct drm_plane *plane) +-{ +- drm_plane_cleanup(plane); +-} +- + static bool vc4_format_mod_supported(struct drm_plane *plane, + uint32_t format, + uint64_t modifier) +@@ -1425,7 +1420,7 @@ static bool vc4_format_mod_supported(str + static const struct drm_plane_funcs vc4_plane_funcs = { + .update_plane = drm_atomic_helper_update_plane, + .disable_plane = drm_atomic_helper_disable_plane, +- .destroy = vc4_plane_destroy, ++ .destroy = drm_plane_cleanup, + .set_property = NULL, + .reset = vc4_plane_reset, + .atomic_duplicate_state = vc4_plane_duplicate_state, -- cgit v1.2.3