[Intel-gfx] [PATCH] tests/gem_error_capture: Initial testcase for error state capture/dump

2014-05-09 Thread oscar . mateo
From: Oscar Mateo oscar.ma...@intel.com Guarantees that error capture works at a very basic level. v2: Also check that the ring object contains a reloc with MI_BB_START for the presumed batch object's address. v3: Chris review comments: - Move variables to local scope. - Do not assume there is

[Intel-gfx] [PATCH] tests/gem_error_capture: Initial testcase for error state capture/dump

2014-04-11 Thread oscar . mateo
From: Oscar Mateo oscar.ma...@intel.com Signed-off-by: Oscar Mateo oscar.ma...@intel.com --- tests/.gitignore | 1 + tests/Makefile.sources| 1 + tests/gem_error_capture.c | 230 ++ 3 files changed, 232 insertions(+) create mode

Re: [Intel-gfx] [PATCH] tests/gem_error_capture: Initial testcase for error state capture/dump

2014-04-11 Thread Mateo Lozano, Oscar
Daniel, is this what you had in mind? -- Oscar P.S. I just re-read the Jira task and realized that I am missing the check that the ring objects contains a reloc with MI_BB_START for your presumed batch object's address. I´ll add this and resubmit. -Original Message- From: Mateo

Re: [Intel-gfx] [PATCH] tests/gem_error_capture: Initial testcase for error state capture/dump

2014-04-11 Thread Daniel Vetter
On Fri, Apr 11, 2014 at 01:09:22PM +, Mateo Lozano, Oscar wrote: Daniel, is this what you had in mind? -- Oscar P.S. I just re-read the Jira task and realized that I am missing the check that the ring objects contains a reloc with MI_BB_START for your presumed batch object's address.