Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Ifdef out Linux...
details: https://anonhg.NetBSD.org/src/rev/6d487a0e6a4c
branches: riastradh-drm2
changeset: 788264:6d487a0e6a4c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:58:56 2013 +0000
description:
Ifdef out Linux intel_ips kludge in intel_pm.c.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_pm.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (29 lines):
diff -r e8c07bf8ce22 -r 6d487a0e6a4c sys/external/bsd/drm2/dist/drm/i915/intel_pm.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c Wed Jul 24 02:58:40 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c Wed Jul 24 02:58:56 2013 +0000
@@ -28,7 +28,9 @@
#include <linux/cpufreq.h>
#include "i915_drv.h"
#include "intel_drv.h"
+#ifndef __NetBSD__
#include "../../../platform/x86/intel_ips.h"
+#endif
#include <linux/module.h>
#define FORCEWAKE_ACK_TIMEOUT_MS 2
@@ -3334,6 +3336,7 @@
static void
ips_ping_for_i915_load(void)
{
+#ifndef __NetBSD__ /* XXX whattakludge for Linux module mania */
void (*link)(void);
link = symbol_get(ips_link_to_i915_driver);
@@ -3341,6 +3344,7 @@
link();
symbol_put(ips_link_to_i915_driver);
}
+#endif
}
void intel_gpu_ips_init(struct drm_i915_private *dev_priv)
Home |
Main Index |
Thread Index |
Old Index