Skip to content

Commit 95b6348

Browse files
committed
Patch: refactor broken patch due to upstream changes
1 parent 0439cb2 commit 95b6348

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

patch/kernel/archive/meson-6.10/0048-drm-meson-Use-a-separate-list-of-supported-formats-f.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ index 111111111111..222222222222 100644
7070
+ num_drm_formats = ARRAY_SIZE(supported_drm_formats_gx);
7171
+ }
7272
+
73-
drm_universal_plane_init(priv->drm, plane, 0xFF,
74-
&meson_plane_funcs,
75-
- supported_drm_formats,
76-
- ARRAY_SIZE(supported_drm_formats),
77-
+ drm_formats, num_drm_formats,
78-
format_modifiers,
79-
DRM_PLANE_TYPE_PRIMARY, "meson_primary_plane");
80-
73+
ret = drm_universal_plane_init(priv->drm, plane, 0xFF,
74+
&meson_plane_funcs,
75+
- supported_drm_formats,
76+
- ARRAY_SIZE(supported_drm_formats),
77+
+ drm_formats, num_drm_formats,
78+
format_modifiers,
79+
DRM_PLANE_TYPE_PRIMARY, "meson_primary_plane");
80+
if (ret) {
8181
--
8282
Armbian
8383

0 commit comments

Comments
 (0)