On Tue, Jun 17, 2014 at 09:03:28PM +0200, Daniel Vetter wrote: > On Tue, Jun 17, 2014 at 8:03 PM, <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > > > Take the minimum of the object size and the vma size and prefault > > only that much. Avoids a SIGBUS when mmapping only a portion of the > > object. > > > > Prefaulting was introduced here: > > commit b90b91d87038f6b257b40a02b42ed4f9705e06f0 > > Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Date: Tue Jun 10 12:14:40 2014 +0100 > > > > drm/i915: Prefault the entire object on first page fault > > > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Do we have an igt for this? Well, written one since trivial to do and merged the patch. Thanks. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx