[Intel-gfx] [PATCH 07/10] intel-gpu-tools: register range handling for forcewake hooks

2011-07-17 Thread Ben Widawsky
We can deprecate the old code by using the non-safe flag in the new API. The safe flag should allow the previous behavior to continue. The code also adds some range checking on register access. This code is gives hooks to prevent tools from doing bad things. v2: fixes from Chris try /debug after

Re: [Intel-gfx] [PATCH 07/10] intel-gpu-tools: register range handling for forcewake hooks

2011-07-13 Thread Chris Wilson
On Wed, 13 Jul 2011 13:51:49 -0700, Ben Widawsky wrote: Non-text part: multipart/mixed > We can deprecate the old code by using the non-safe flag in the new API. > The safe flag should allow the previous behavior to continue. > > The code also adds some range checking on register access. This cod

[Intel-gfx] [PATCH 07/10] intel-gpu-tools: register range handling for forcewake hooks

2011-07-13 Thread Ben Widawsky
We can deprecate the old code by using the non-safe flag in the new API. The safe flag should allow the previous behavior to continue. The code also adds some range checking on register access. This code is gives hooks to prevent tools from doing bad things. Signed-off-by: Ben Widawsky --- lib/