Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display No muppets provi...



details:   https://anonhg.NetBSD.org/src/rev/a3451f40341d
branches:  trunk
changeset: 1028702:a3451f40341d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:48:11 2021 +0000

description:
No muppets provided yet


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/display/intel_panel.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4e9e7f69acd8 -r a3451f40341d sys/external/bsd/drm2/dist/drm/i915/display/intel_panel.c
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_panel.c Sun Dec 19 11:48:02 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_panel.c Sun Dec 19 11:48:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_panel.c,v 1.3 2021/12/19 01:53:39 riastradh Exp $        */
+/*     $NetBSD: intel_panel.c,v 1.4 2021/12/19 11:48:11 riastradh Exp $        */
 
 /*
  * Copyright © 2006-2010 Intel Corporation
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_panel.c,v 1.3 2021/12/19 01:53:39 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_panel.c,v 1.4 2021/12/19 11:48:11 riastradh Exp $");
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
@@ -2008,8 +2008,10 @@
                panel->backlight.hz_to_pwm = bxt_hz_to_pwm;
        } else if (INTEL_PCH_TYPE(dev_priv) >= PCH_CNP) {
                panel->backlight.setup = cnp_setup_backlight;
+#ifndef __NetBSD__ /* XXX mipi */
                panel->backlight.enable = cnp_enable_backlight;
                panel->backlight.disable = cnp_disable_backlight;
+#endif
                panel->backlight.set = bxt_set_backlight;
                panel->backlight.get = bxt_get_backlight;
                panel->backlight.hz_to_pwm = cnp_hz_to_pwm;



Home | Main Index | Thread Index | Old Index