linux_dsm_epyc7002/drivers/gpu/drm/i915
Daniel Vetter 75e9e9158f drm/i915: kill mappable/fenceable disdinction
a00b10c360 "Only enforce fence limits inside the GTT" also
added a fenceable/mappable disdinction when binding/pinning buffers.
This only complicates the code with no pratical gain:

- In execbuffer this matters on for g33/pineview, as this is the only
  chip that needs fences and has an unmappable gtt area. But fences
  are only possible in the mappable part of the gtt, so need_fence
  implies need_mappable. And need_mappable is only set independantly
  with relocations which implies (for sane userspace) that the buffer
  is untiled.

- The overlay code is only really used on i8xx, which doesn't have
  unmappable gtt. And it doesn't support tiled buffers, currently.

- For all other buffers it's a bug to pass in a tiled bo.

In short, this disdinction doesn't have any practical gain.

I've also reverted mapping the overlay and context pages as possibly
unmappable. It's not worth being overtly clever here, all the big
gains from unmappable are for execbuf bos.

Also add a comment for a clever optimization that confused me
while reading the original patch by Chris Wilson.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-11-04 19:02:03 +00: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
dvo.h drm/i915: Subclass intel_encoder. 2010-08-09 11:24:28 -07: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 drm/i915: kill mappable/fenceable disdinction 2010-11-04 19:02:03 +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_gem.c drm/i915: kill mappable/fenceable disdinction 2010-11-04 19:02:03 +00: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_points.c drm/i915: Add tracepoints 2009-09-23 01:05:21 +01:00
i915_trace.h drm/i915: add mappable to gem_object_bind tracepoint 2010-10-27 23:31:07 +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: kill mappable/fenceable disdinction 2010-11-04 19:02:03 +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 drm/i915: kill mappable/fenceable disdinction 2010-11-04 19:02:03 +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: kill mappable/fenceable disdinction 2010-11-04 19:02:03 +00:00
intel_ringbuffer.h drm/i915: SNB BLT workaround 2010-11-02 10:48:48 +00:00
intel_sdvo_regs.h drm/i915/sdvo: Add missing TV filters 2010-08-09 11:24:29 -07:00
intel_sdvo.c drm/i915/sdvo: Remove unused encoding member 2010-10-22 09:15:22 +01:00
intel_tv.c Merge branch 'drm-intel-fixes' into drm-intel-next 2010-10-03 10:56:11 +01:00
Makefile drm/i915: add _DSM support 2010-10-08 10:27:43 +01:00