NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56766: rkdrm panic when attaching framebuffer



The following reply was made to PR port-evbarm/56766; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: tnn%nygren.pp.se@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/56766: rkdrm panic when attaching framebuffer
Date: Fri, 25 Mar 2022 23:12:32 +0000

 This is a multi-part message in MIME format.
 --=_La7nkjIJilZyzQ04m7iYdJZjSuvrF8DG
 
 Does the attached patch help?
 
 --=_La7nkjIJilZyzQ04m7iYdJZjSuvrF8DG
 Content-Type: text/plain; charset="ISO-8859-1"; name="dwhdmiatomic"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename="dwhdmiatomic.patch"
 
 From af9e9a5f607ebc49fa8462e1cc6e5950e4325a85 Mon Sep 17 00:00:00 2001
 From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
 Date: Fri, 25 Mar 2022 23:11:08 +0000
 Subject: [PATCH] dwhdmi(4): Wire up to atomic modesetting.
 
 ---
  sys/dev/ic/dw_hdmi.c | 3 +++
  1 file changed, 3 insertions(+)
 
 diff --git a/sys/dev/ic/dw_hdmi.c b/sys/dev/ic/dw_hdmi.c
 index db3e83f20d5f..6d77aa3afa80 100644
 --- a/sys/dev/ic/dw_hdmi.c
 +++ b/sys/dev/ic/dw_hdmi.c
 @@ -570,6 +570,9 @@ static const struct drm_connector_funcs dwhdmi_connecto=
 r_funcs =3D {
  	.detect =3D dwhdmi_connector_detect,
  	.fill_modes =3D drm_helper_probe_single_connector_modes,
  	.destroy =3D dwhdmi_connector_destroy,
 +	.reset =3D drm_atomic_helper_connector_reset,
 +	.atomic_duplicate_state =3D drm_atomic_helper_connector_duplicate_state,
 +	.atomic_destroy_state =3D drm_atomic_helper_connector_destroy_state,
  };
 =20
  static int
 
 --=_La7nkjIJilZyzQ04m7iYdJZjSuvrF8DG--
 


Home | Main Index | Thread Index | Old Index