Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Jani Nikula
On Fri, 14 Oct 2016, Petri Latvala wrote: > On Fri, Oct 14, 2016 at 02:50:49PM +0300, Jani Nikula wrote: >> On Fri, 14 Oct 2016, Petri Latvala wrote: >> > On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: >> >> While at it, make

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Petri Latvala
On Fri, Oct 14, 2016 at 02:50:49PM +0300, Jani Nikula wrote: > On Fri, 14 Oct 2016, Petri Latvala wrote: > > On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: > >> While at it, make debugfs_path point at the debugfs root, not > >> dri. This'll be handy in

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Jani Nikula
On Fri, 14 Oct 2016, Jani Nikula wrote: > On Fri, 14 Oct 2016, Petri Latvala wrote: >> On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: >>> While at it, make debugfs_path point at the debugfs root, not >>> dri. This'll be handy in

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Jani Nikula
On Fri, 14 Oct 2016, Petri Latvala wrote: > On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: >> While at it, make debugfs_path point at the debugfs root, not >> dri. This'll be handy in future work. >> >> Signed-off-by: Jani Nikula >>

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Petri Latvala
On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: > While at it, make debugfs_path point at the debugfs root, not > dri. This'll be handy in future work. > > Signed-off-by: Jani Nikula > --- > tests/drm_lib.sh | 16 ++-- > 1 file changed, 10

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-14 Thread Jani Nikula
On Thu, 13 Oct 2016, Chris Wilson wrote: > On Thu, Oct 13, 2016 at 04:55:49PM +0300, Jani Nikula wrote: >> For whatever reason, I got a machine here where that file is empty (not >> talking about the size, but cating the file actually produces >> nothing). And I've got

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-13 Thread Chris Wilson
On Thu, Oct 13, 2016 at 04:55:49PM +0300, Jani Nikula wrote: > For whatever reason, I got a machine here where that file is empty (not > talking about the size, but cating the file actually produces > nothing). And I've got another machine where that is not the > case. *scratches head*. Appears

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-13 Thread Chris Wilson
On Thu, Oct 13, 2016 at 04:55:49PM +0300, Jani Nikula wrote: > On Thu, 13 Oct 2016, Chris Wilson wrote: > >> + if [ -f $debugfs_path/dri/$minor/i915_error_state ] ; then > >> + i915_dfs_path=$debugfs_path/dri/$minor > > > > Thinking of how to wean ourselves off

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-13 Thread Jani Nikula
On Thu, 13 Oct 2016, Chris Wilson wrote: > On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: >> While at it, make debugfs_path point at the debugfs root, not >> dri. This'll be handy in future work. >> >> Signed-off-by: Jani Nikula >>

Re: [Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-13 Thread Chris Wilson
On Thu, Oct 13, 2016 at 03:59:55PM +0300, Jani Nikula wrote: > While at it, make debugfs_path point at the debugfs root, not > dri. This'll be handy in future work. > > Signed-off-by: Jani Nikula > --- > tests/drm_lib.sh | 16 ++-- > 1 file changed, 10

[Intel-gfx] [i-g-t PATCH 1/3] tests: add more checks for finding the debugfs in script based tests

2016-10-13 Thread Jani Nikula
While at it, make debugfs_path point at the debugfs root, not dri. This'll be handy in future work. Signed-off-by: Jani Nikula --- tests/drm_lib.sh | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh