Re: [Intel-gfx] [PATCH 10/12] drm/i915: Reduce the pointer dance of i915_is_ggtt()

2015-11-24 Thread Daniel Vetter
On Fri, Nov 20, 2015 at 12:43:50PM +, Chris Wilson wrote: > The multiple levels of indirect do nothing but hinder the compiler and > the pointer chasing turns to be quite painful but painless to fix. > > Signed-off-by: Chris Wilson vma->is_ggtt = vm->is_ggtt is robust enough for me to carry

[Intel-gfx] [PATCH 10/12] drm/i915: Reduce the pointer dance of i915_is_ggtt()

2015-11-20 Thread Chris Wilson
The multiple levels of indirect do nothing but hinder the compiler and the pointer chasing turns to be quite painful but painless to fix. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_debugfs.c| 14 ++--- drivers/gpu/drm/i915/i915_drv.h| 9 + driv