> Date: Thu, 6 Feb 2014 23:53:49 +0000 > From: Stuart Henderson <[email protected]> > > On 2014/02/06 20:26, Tim van der Molen wrote: > > Occasionally, after running startx I get a panic. Handtyped ddb output > > and dmesg below. > > Try a newer kernel, pretty sure this is the bug that kettenis fixed in > sys/dev/pci/drm/i915/i915_gem.c 1.69. This is not in snapshots yet afaik.
Unfortunately, this probably won't fix the issue. The problem here is that copyin/out can sleep if a page needs to be faulted in. The fast path code called from i915_gem_shmem_pwrite() is written with the assumption that this doesn't happen. I could simply disable the fast path code here, but there might be a better solution. Still thinking about it...
