Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic dwhdmi: properly initialize connector atomic help...
details: https://anonhg.NetBSD.org/src/rev/f5ffca42f7b4
branches: trunk
changeset: 364454:f5ffca42f7b4
user: tnn <tnn%NetBSD.org@localhost>
date: Fri Mar 25 23:16:04 2022 +0000
description:
dwhdmi: properly initialize connector atomic helper funcs (PR port-evbarm/56766)
diffstat:
sys/dev/ic/dw_hdmi.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r ae150fd51f2f -r f5ffca42f7b4 sys/dev/ic/dw_hdmi.c
--- a/sys/dev/ic/dw_hdmi.c Fri Mar 25 23:03:47 2022 +0000
+++ b/sys/dev/ic/dw_hdmi.c Fri Mar 25 23:16:04 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dw_hdmi.c,v 1.9 2021/12/19 11:01:11 riastradh Exp $ */
+/* $NetBSD: dw_hdmi.c,v 1.10 2022/03/25 23:16:04 tnn Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dw_hdmi.c,v 1.9 2021/12/19 11:01:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dw_hdmi.c,v 1.10 2022/03/25 23:16:04 tnn Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -47,6 +47,7 @@
#include <dev/audio/audio_dai.h>
+#include <drm/drm_atomic_state_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_drv.h>
@@ -570,6 +571,9 @@
.detect = dwhdmi_connector_detect,
.fill_modes = drm_helper_probe_single_connector_modes,
.destroy = dwhdmi_connector_destroy,
+ .reset = drm_atomic_helper_connector_reset,
+ .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state,
+ .atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
};
static int
Home |
Main Index |
Thread Index |
Old Index