linux/drivers/gpu/drm/i915
Daniel Vetter 818f2a3cc3 drm/i915: revert pageflip/mappable related abi breakage
In a00b10c360 "Only enforce fence limits inside the GTT"
Chris Wilson implemented an optimization to only pin framebuffers
as mappable for crtc_set_base (but not for pageflips). This breaks
the abi, eg: A double buffering mesa client might leave the last
framebuffer in unmappable space on close. A subsequent glReadPix
by a frontbuffer rendering client then goes boom. My pretty anal
mappable/unmappable consistency checking detected this, see

https://bugs.freedesktop.org/show_bug.cgi?id=31286

Chris Wilson tried to fix this in 085ce26437 by pinning
tiled framebuffers into mappable space. This
a) renders the original optimization of not forcing framebuffers
   for pageflipping clients into mappable pointless because all our
   scanout buffers are tiled by default.
b) doesn't solve the problem for untiled framebuffers.

So kill this. Emperically it's no gain anyway because framebuffers are
being reused by the ddx and hence there's no chance for them to get
constanly bounced between mappable and unmappable.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-04 18:55:59 +00:00
..
Makefile drm/i915: add _DSM support 2010-10-08 10:27:43 +01:00
dvo.h drm/i915: Subclass intel_encoder. 2010-08-09 11:24:28 -07:00
dvo_ch7xxx.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
dvo_ch7017.c drm/i915: Tidy dvo_ch7017 and print out which chip we detect 2010-09-28 23:33:17 +01:00
dvo_ivch.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
dvo_sil164.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
dvo_tfp410.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
i915_debugfs.c drm/i915/debugfs: Report ring in error state 2010-11-01 12:08:05 +00:00
i915_dma.c drm/i915: Switch to using pci_iounmap in conjunction with pci_iomap 2010-10-29 21:02:18 +01:00
i915_drv.c Merge branch 'drm-intel-fixes' into drm-intel-next 2010-11-02 10:53:29 +00:00
i915_drv.h Merge branch 'drm-intel-fixes' into drm-intel-next 2010-11-04 09:40:36 +00:00
i915_gem.c drm/i915: Ensure that if we ever try to pin+fence it is mappable. 2010-11-03 09:31:57 +00:00
i915_gem_debug.c drm/i915/debug: Convert i915_verify_active() to scan all lists 2010-09-30 09:30:11 +01:00
i915_gem_evict.c Merge branch 'drm-intel-fixes' into drm-intel-next 2010-11-01 13:44:41 +00:00
i915_gem_tiling.c drm/i915: Only enforce fence limits inside the GTT. 2010-10-29 11:15:07 +01:00
i915_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
i915_irq.c drm/i915/debugfs: Report ring in error state 2010-11-01 12:08:05 +00:00
i915_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915_reg.h drm/i915: Record BSD engine error state 2010-10-29 22:19:21 +01:00
i915_suspend.c i915: reprogram power monitoring registers on resume 2010-11-03 21:44:47 +00:00
i915_trace.h drm/i915: add mappable to gem_object_bind tracepoint 2010-10-27 23:31:07 +01:00
i915_trace_points.c drm/i915: Add tracepoints 2009-09-23 01:05:21 +01:00
intel_acpi.c drm/i915: add _DSM support 2010-10-08 10:27:43 +01:00
intel_bios.c drm/i915: IS_IRONLAKE is synonymous with gen == 5 2010-10-21 19:08:39 +01:00
intel_bios.h drm/i915: Initialize panel timing registers if VBIOS did not 2010-10-19 09:17:24 +01:00
intel_crt.c drm/i915/crt: Make sure the hotplug interrupt is enabled 2010-10-08 10:28:29 +01:00
intel_display.c drm/i915: revert pageflip/mappable related abi breakage 2010-11-04 18:55:59 +00:00
intel_dp.c drm/i915: Fix typo from "Enable DisplayPort Audio" 2010-10-27 08:53:28 +01:00
intel_drv.h i915: reprogram power monitoring registers on resume 2010-11-03 21:44:47 +00:00
intel_dvo.c drm/i915/dvo: Fix panel and DDC i2c pins 2010-09-28 23:34:44 +01:00
intel_fb.c Merge remote branch 'airlied/drm-core-next' into tmp 2010-10-19 09:14:50 +01:00
intel_hdmi.c i915: enable AVI infoframe for intel_hdmi.c [v4] 2010-10-22 09:14:30 +01:00
intel_i2c.c drm/i915: Fix GPIO pin to register mapping 2010-10-19 09:17:02 +01:00
intel_lvds.c drm/i915: Disable LVDS i2c probing when using GPIO bit banging 2010-09-28 16:47:00 +01:00
intel_modes.c drm/i915: use GMBUS to manage i2c links 2010-09-18 15:46:19 +01:00
intel_opregion.c drm/i915: opregion_setup: iounmap correct address 2010-11-01 10:29:12 +00:00
intel_overlay.c Merge branch 'drm-intel-fixes' into drm-intel-next 2010-11-01 13:44:41 +00:00
intel_panel.c drm/i915: INTEL_INFO->gen supercedes i8xx, i9xx, i965g 2010-09-21 11:19:45 +01:00
intel_ringbuffer.c drm/i915: Drop the iomem accessors when writing to the kmapped blt batch 2010-11-02 11:17:23 +00:00
intel_ringbuffer.h drm/i915: SNB BLT workaround 2010-11-02 10:48:48 +00:00
intel_sdvo.c drm/i915/sdvo: Remove unused encoding member 2010-10-22 09:15:22 +01:00
intel_sdvo_regs.h drm/i915/sdvo: Add missing TV filters 2010-08-09 11:24:29 -07:00
intel_tv.c Merge branch 'drm-intel-fixes' into drm-intel-next 2010-10-03 10:56:11 +01:00