linux/drivers/gpu/drm/i915
Daniel Vetter fe305198d4 drm/intel: fix up set_tiling for untiled->tiled transition
Bug introduced in

commit 10ae9bd25a
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Feb 1 13:59:17 2010 +0100

    drm/i915: blow away userspace mappings before fence change

The problem is that when there's no fence reg assigned and the object
is mapped at a fenceable offset in the gtt, the userspace mappings won't
be torn down. Which happens on untiled->tiled transition quite often
on 4th gen and later because there fencing does not have any special
alignment constraints (as opposed to 2nd and 3rd gen on which I've tested
the original commit).

Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=26993
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Eric Anholt <eric@anholt.net> (fixes OpenArena)
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-03-18 16:48:02 -07:00
..
Makefile Merge remote branch 'anholt/drm-intel-next' into drm-linus 2009-12-08 14:03:47 +10:00
dvo.h drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ch7xxx.c drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. 2009-11-05 14:47:12 -08:00
dvo_ch7017.c drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. 2009-11-05 14:47:12 -08:00
dvo_ivch.c drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. 2009-11-05 14:47:12 -08:00
dvo_sil164.c drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. 2009-11-05 14:47:12 -08:00
dvo_tfp410.c drm/i915: Replace DRM_DEBUG with DRM_DEBUG_KMS in DVO output code. 2009-11-05 14:47:12 -08:00
i915_debugfs.c drm/i915: Add initial bits for VGA modesetting bringup on Sandybridge. 2010-02-26 13:23:17 -08:00
i915_dma.c drm/i915: Don't bother with the BKL for GEM ioctls. 2010-03-17 12:59:29 -07:00
i915_drv.c drm/i915: Fix check with IS_GEN6 2010-03-17 13:07:00 -07:00
i915_drv.h drm/i915: Fix check with IS_GEN6 2010-03-17 13:07:00 -07:00
i915_gem.c drm/i915: Avoid NULL deref in get_pages() unwind after error. 2010-03-17 13:17:24 -07:00
i915_gem_debug.c drm/i915: Catch up to obj_priv->page_list rename in disabled debug code. 2009-06-22 20:19:39 -07:00
i915_gem_tiling.c drm/intel: fix up set_tiling for untiled->tiled transition 2010-03-18 16:48:02 -07:00
i915_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
i915_irq.c drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge. 2010-02-26 13:23:20 -08:00
i915_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915_opregion.c drm/i915: Fix product names and #defines 2009-12-07 14:55:56 -08:00
i915_reg.h drm/i915: Set up the documented clock gating on Sandybridge and Ironlake. 2010-03-18 16:48:01 -07:00
i915_suspend.c drm/i915: Deobfuscate the render p-state obfuscation 2010-02-22 11:46:55 -05:00
i915_trace.h drm/i915: Enable irq to trace batch buffer completion. 2009-09-29 03:15:25 +01:00
i915_trace_points.c drm/i915: Add tracepoints 2009-09-23 01:05:21 +01:00
intel_bios.c drivers/gpu/drm/i915/intel_bios.c: fix continuation line formats 2010-03-17 13:06:09 -07:00
intel_bios.h drm/i915: parse eDP panel color depth from VBT block 2010-01-15 14:12:47 -08:00
intel_crt.c drm/i915: Add initial bits for VGA modesetting bringup on Sandybridge. 2010-02-26 13:23:17 -08:00
intel_display.c drm/i915: Set up the documented clock gating on Sandybridge and Ironlake. 2010-03-18 16:48:01 -07:00
intel_dp.c drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge. 2010-02-26 13:23:20 -08:00
intel_drv.h drm/i915: add dynamic performance control support for Ironlake 2010-02-22 11:46:54 -05:00
intel_dvo.c drm/i915: Set crtc/clone mask in different output devices 2009-08-24 17:01:33 -07:00
intel_fb.c vga_switcheroo: initial implementation (v15) 2010-03-01 16:20:37 +10:00
intel_hdmi.c drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge. 2010-02-26 13:23:20 -08:00
intel_i2c.c drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge. 2010-02-26 13:23:20 -08:00
intel_lvds.c drm/i915: enable/disable LVDS port at DPMS time 2010-02-26 13:23:22 -08:00
intel_modes.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_overlay.c drm/i915: fix small leak on overlay error path 2010-03-17 13:30:15 -07:00
intel_sdvo.c drm/i915: Use a dmi quirk to skip a broken SDVO TV output. 2010-02-26 13:23:22 -08:00
intel_sdvo_regs.h drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_tv.c drm/i915: disable TV hotplug status check 2010-01-07 10:00:39 -08:00