Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 11:25:39 UTC 2021

Modified Files:
        src/sys/arch/arm/nxp: imx6_dwhdmi.c

Log Message:
catch up with newer drm_encoder_init prototype

Author: Maya Rashish <[email protected]>
Committer: Taylor R Campbell <[email protected]>


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nxp/imx6_dwhdmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/nxp/imx6_dwhdmi.c
diff -u src/sys/arch/arm/nxp/imx6_dwhdmi.c:1.3 src/sys/arch/arm/nxp/imx6_dwhdmi.c:1.4
--- src/sys/arch/arm/nxp/imx6_dwhdmi.c:1.3	Sun Dec 19 11:25:32 2021
+++ src/sys/arch/arm/nxp/imx6_dwhdmi.c	Sun Dec 19 11:25:39 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: imx6_dwhdmi.c,v 1.3 2021/12/19 11:25:32 riastradh Exp $ */
+/* $NetBSD: imx6_dwhdmi.c,v 1.4 2021/12/19 11:25:39 riastradh Exp $ */
 /*-
  * Copyright (c) 2020 Genetec Corporation.  All rights reserved.
  * Written by Hashimoto Kenichi for Genetec Corporation.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_dwhdmi.c,v 1.3 2021/12/19 11:25:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_dwhdmi.c,v 1.4 2021/12/19 11:25:39 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -161,7 +161,7 @@ imx6_dwhdmi_ep_activate(device_t dev, st
 
 	sc->sc_encoder.possible_crtcs = 3; // 1U << drm_crtc_index(crtc); /* XXX */
 	drm_encoder_init(crtc->dev, &sc->sc_encoder, &imx6_dwhdmi_encoder_funcs,
-	    DRM_MODE_ENCODER_TMDS);
+	    DRM_MODE_ENCODER_TMDS, NULL);
 	drm_encoder_helper_add(&sc->sc_encoder, &imx6_dwhdmi_encoder_helper_funcs);
 
 	sc->sc_base.sc_connector.base.connector_type = DRM_MODE_CONNECTOR_HDMIA;

Reply via email to