[Intel-gfx] [PATCH 0/6] Page faults to help user space debug

Daniel Vetter daniel at ffwll.ch
Sat Jun 29 16:38:00 CEST 2013


On Sat, Jun 29, 2013 at 12:23 AM, Ben Widawsky <ben at bwidawsk.net> wrote:
> 2. echo 2 > /sys/kernel/debug/dri/0/i915_debug_flags
> Unbind all buffers synchronously, so any batch which has bad code will fault
> every time and not get lucky by hitting a buffer it bound. This will not catch
> cases where it accidentally reads/writes someone else's buffer.

We already have this as the drop_caches debugfs interface. Chris used
it to reproduce the 3.7 reloc-tree regression, the only downside is
that no one ever got around to write the respective i-g-t ... :(
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list