From 3ae0c9bf41129015941953ebcbda3823c1bd0c2b Mon Sep 17 00:00:00 2001
From: hongyaobin <hongyaobin@allwinnertech.com>
Date: Mon, 24 Feb 2025 15:33:47 +0800
Subject: [PATCH] adapt to allwinner drm driver for kmssink, just enable this
 macro to use: BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS

---
 sys/kms/gstkmssink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c
index 788cefc..12a7d5a 100644
--- a/sys/kms/gstkmssink.c
+++ b/sys/kms/gstkmssink.c
@@ -178,7 +178,7 @@ kms_open (gchar ** driver)
   static const char *drivers[] = { "i915", "radeon", "nouveau", "vmwgfx",
     "exynos", "amdgpu", "imx-drm", "rockchip", "atmel-hlcdc", "msm",
     "xlnx", "vc4", "meson", "sun4i-drm", "mxsfb-drm", "tegra",
-    "xilinx_drm",               /* DEPRECATED. Replaced by xlnx */
+    "xilinx_drm", "sunxi-drm",              /* DEPRECATED. Replaced by xlnx */
   };
   int i, fd = -1;
 
-- 
2.25.1

