Patch: refactor broken patch due to upstream changes

This commit is contained in:
Igor Pecovnik 2024-09-08 20:20:15 +02:00 committed by Igor
parent 0439cb236f
commit 95b6348453
1 changed files with 8 additions and 8 deletions

View File

@ -70,14 +70,14 @@ index 111111111111..222222222222 100644
+ num_drm_formats = ARRAY_SIZE(supported_drm_formats_gx);
+ }
+
drm_universal_plane_init(priv->drm, plane, 0xFF,
&meson_plane_funcs,
- supported_drm_formats,
- ARRAY_SIZE(supported_drm_formats),
+ drm_formats, num_drm_formats,
format_modifiers,
DRM_PLANE_TYPE_PRIMARY, "meson_primary_plane");
ret = drm_universal_plane_init(priv->drm, plane, 0xFF,
&meson_plane_funcs,
- supported_drm_formats,
- ARRAY_SIZE(supported_drm_formats),
+ drm_formats, num_drm_formats,
format_modifiers,
DRM_PLANE_TYPE_PRIMARY, "meson_primary_plane");
if (ret) {
--
Armbian