On Sep 30, 2015 08:32, Mark Kettenis wrote:
> > Date: Tue, 29 Sep 2015 23:45:03 +0200
> > From: Dawe <[email protected]>
> > 
> > Hi,
> > 
> > my sandybridge desktop freezes every few hours with yesterdays and
> > todays amd64 snapshots.  Once there was this in /var/log/messages:
> > /bsd: error: [drm:pid22832:i915_reset] *ERROR* Failed to reset chip:
> > -60
> > 
> > From time to time there's display corruption as well. Getting worse
> > and worse till I restart X.  The monitor is connected via a dvi-vga
> > adapter.  All the freezes happened during heavy cpu load.
> 
> Just committed a diff that might fix this.  Can you try a -current
> kernel built from source?  Make sure you have rev 1.102 of
> sys/dev/pci/drm/i915/i915_gem.c, or apply the diff below.
> 
> 
> Index: i915_gem.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_gem.c,v
> retrieving revision 1.101
> diff -u -p -r1.101 i915_gem.c
> --- i915_gem.c        24 Sep 2015 20:52:28 -0000      1.101
> +++ i915_gem.c        30 Sep 2015 06:26:20 -0000
> @@ -3084,12 +3084,10 @@ int i915_vma_unbind(struct i915_vma *vma
>  
>       if (obj->has_global_gtt_mapping)
>               i915_gem_gtt_unbind_object(obj);
> -#ifdef notyet
>       if (obj->has_aliasing_ppgtt_mapping) {
>               i915_ppgtt_unbind_object(dev_priv->mm.aliasing_ppgtt, obj);
>               obj->has_aliasing_ppgtt_mapping = 0;
>       }
> -#endif
>       i915_gem_gtt_finish_object(obj);
>  
>       list_del(&vma->mm_list);


Thanks Mark!
After 6 hours with the same usage pattern no freezes and no display corruption
occured. So it seems to be fixed with rev 1.102 :)

Reply via email to