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 Restore Intel opregion stuff.
details: https://anonhg.NetBSD.org/src/rev/261b4e0ba38b
branches: trunk
changeset: 331672:261b4e0ba38b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 18 16:55:34 2014 +0000
description:
Restore Intel opregion stuff.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h | 3 +--
sys/external/bsd/drm2/i915drm/files.i915drmkms | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r 2a8af978ac76 -r 261b4e0ba38b sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Mon Aug 18 14:40:17 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Mon Aug 18 16:55:34 2014 +0000
@@ -2720,8 +2720,8 @@
/* intel_opregion.c */
struct intel_encoder;
+extern int intel_opregion_setup(struct drm_device *dev);
#ifdef CONFIG_ACPI
-extern int intel_opregion_setup(struct drm_device *dev);
extern void intel_opregion_init(struct drm_device *dev);
extern void intel_opregion_fini(struct drm_device *dev);
extern void intel_opregion_asle_intr(struct drm_device *dev);
@@ -2730,7 +2730,6 @@
extern int intel_opregion_notify_adapter(struct drm_device *dev,
pci_power_t state);
#else
-static inline int intel_opregion_setup(struct drm_device *dev) { return 0; }
static inline void intel_opregion_init(struct drm_device *dev) { return; }
static inline void intel_opregion_fini(struct drm_device *dev) { return; }
static inline void intel_opregion_asle_intr(struct drm_device *dev) { return; }
diff -r 2a8af978ac76 -r 261b4e0ba38b sys/external/bsd/drm2/i915drm/files.i915drmkms
--- a/sys/external/bsd/drm2/i915drm/files.i915drmkms Mon Aug 18 14:40:17 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/files.i915drmkms Mon Aug 18 16:55:34 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.i915drmkms,v 1.5 2014/07/26 18:13:44 riastradh Exp $
+# $NetBSD: files.i915drmkms,v 1.6 2014/08/18 16:55:34 riastradh Exp $
define intelfbbus { }
device i915drmkms: drmkms, drmkms_pci, intelfbbus
@@ -60,8 +60,7 @@
file external/bsd/drm2/dist/drm/i915/intel_i2c.c i915drmkms
file external/bsd/drm2/dist/drm/i915/intel_lvds.c i915drmkms
file external/bsd/drm2/dist/drm/i915/intel_modes.c i915drmkms
-# XXX Restore once I figure out what this does...
-#file external/bsd/drm2/dist/drm/i915/intel_opregion.c i915drmkms
+file external/bsd/drm2/dist/drm/i915/intel_opregion.c i915drmkms
file external/bsd/drm2/dist/drm/i915/intel_overlay.c i915drmkms
file external/bsd/drm2/dist/drm/i915/intel_panel.c i915drmkms
file external/bsd/drm2/dist/drm/i915/intel_pm.c i915drmkms
Home |
Main Index |
Thread Index |
Old Index