drm/i915: Rename global latency_ns variable
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Sep 2014 10:56:07 +0000 (11:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 13:10:58 +0000 (15:10 +0200)
commit5aef600321caee7f950842b87f878780f693ca3a
tree3cf2e2bad145f2e7b3ecf535e32236d4444829c6
parentfd34f90c6071bbc124572dae83b67044b1c663cc
drm/i915: Rename global latency_ns variable

We use the variable name latency_ns in both the local lowlevel wm
calculation routines and at the global level. Rename the global value to
reduce shadow warnings and future confusion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c