kmssink: Support auto-detection of NVIDIA Tegra driver
authorDmitry Osipenko <digetx@gmail.com>
Tue, 4 Jan 2022 01:56:55 +0000 (04:56 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 Jan 2022 04:50:55 +0000 (04:50 +0000)
NVIDIA Tegra SoCs have a separate (from GPU) display controller. It's
the primary display device on all Tegra SoCs. Add Tegra to the list
of primary DRM drivers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1514>

subprojects/gst-plugins-bad/sys/kms/gstkmssink.c

index 5c68d8c65b166f12acb4765f0bf4857614b1f9f5..788cefc069707ed9236fb688508e27d08f881e79 100644 (file)
@@ -177,7 +177,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",
+    "xlnx", "vc4", "meson", "sun4i-drm", "mxsfb-drm", "tegra",
     "xilinx_drm",               /* DEPRECATED. Replaced by xlnx */
   };
   int i, fd = -1;