drm/i915: Reduce the pointer dance of i915_is_ggtt()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Feb 2016 11:03:20 +0000 (11:03 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 26 Feb 2016 13:15:39 +0000 (13:15 +0000)
commit596c5923197b889e2b7dc9d2188799933125bbb5
tree23ee26e85e760b73e7c5ca93cfbab1c7410b0294
parent1c7f4bca5a6f53c8aa5ecf52fc9f68194e44aede
drm/i915: Reduce the pointer dance of i915_is_ggtt()

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 <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456484600-11477-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/i915_trace.h
This page took 0.032383 seconds and 5 git commands to generate.