drm/intel
Chris Wilson fdcde592c2 intel: Account for potential pinned buffers hogging fences
As the kernel reports the total number of fences, we must guess how many
fences are likely to be pinned. In the typical system these will be only
used by the scanout buffers, of which there may be one per pipe, and any
number of manually pinned fenced buffers. So take a conservative guess
and reserve two fences for use by the system.

Note this reduces the number of fences to 3 for i915 and prior.

Reference:
  http://bugs.freedesktop.org/show_bug.cgi?id=25911
  The latest intel driver 2.10.0 causes kernel oops and system hangs

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-09 08:37:37 +00:00
..
Makefile.am Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
intel_atomic.h Add support for Solaris libc atomic operations 2010-01-16 19:37:06 -08:00
intel_bufmgr.c Merge remote branch 'origin/master' into libdrm 2009-11-20 17:09:03 -05:00
intel_bufmgr.h Merge remote branch 'origin/master' into libdrm 2009-11-20 17:09:03 -05:00
intel_bufmgr_fake.c Support gcc's __FUNCTION__ for people using other compilers 2010-01-16 19:37:06 -08:00
intel_bufmgr_gem.c intel: Account for potential pinned buffers hogging fences 2010-02-09 08:37:37 +00:00
intel_bufmgr_priv.h Merge remote branch 'origin/master' into libdrm 2009-11-20 17:09:03 -05:00
intel_chipset.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
libdrm_intel.pc.in intel: Add pkg-config dependency on libdrm.so using 'Requires' 2010-01-20 10:42:46 +00:00
mm.c Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
mm.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00