From 09c361fdb64e5bfc7ec81c9d63aabbc332f65857 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 15 Mar 2011 14:56:28 -0400 Subject: [PATCH] Drop the intel gen2 hack --- drm-intel-big-hammer.patch | 21 --------------------- kernel.spec | 5 +++-- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 drm-intel-big-hammer.patch diff --git a/drm-intel-big-hammer.patch b/drm-intel-big-hammer.patch deleted file mode 100644 index bf152af3b..000000000 --- a/drm-intel-big-hammer.patch +++ /dev/null @@ -1,21 +0,0 @@ -omgwtfbbqchainsaw? ---- - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c -index e698343..21e601d1 100644 ---- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c -+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c -@@ -1090,6 +1090,11 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, - if (ret) - goto pre_mutex_err; - -+ /* We don't get the flushing right for these chipsets, use the -+ * big hammer for now to avoid random crashiness. */ -+ if (IS_I85X(dev) || IS_I865G(dev)) -+ wbinvd(); -+ - if (dev_priv->mm.suspended) { - mutex_unlock(&dev->struct_mutex); - ret = -EBUSY; diff --git a/kernel.spec b/kernel.spec index 43e9a3a2d..a875f6005 100644 --- a/kernel.spec +++ b/kernel.spec @@ -670,7 +670,6 @@ Patch1555: fix_xen_guest_on_old_EC2.patch # nouveau + drm fixes Patch1810: drm-nouveau-updates.patch -Patch1819: drm-intel-big-hammer.patch # intel drm is all merged upstream Patch1824: drm-intel-next.patch # make sure the lvds comes back on lid open @@ -1303,7 +1302,6 @@ ApplyOptionalPatch drm-nouveau-updates.patch # Intel DRM ApplyOptionalPatch drm-intel-next.patch -ApplyPatch drm-intel-big-hammer.patch ApplyPatch drm-intel-make-lvds-work.patch ApplyPatch linux-2.6-intel-iommu-igfx.patch ApplyPatch drm-intel-edp-fixes.patch @@ -1972,6 +1970,9 @@ fi # and build. %changelog +* Tue Mar 15 2011 Adam Jackson +- drm-intel-big-hammer.patch: Drop. + * Tue Mar 15 2011 Chuck Ebbert 2.6.38-1 - Linux 2.6.38