drm/i915: Restore debugfs/i915_gem_gtt back to its former glory
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Aug 2016 11:56:25 +0000 (12:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Aug 2016 09:32:38 +0000 (10:32 +0100)
commit5f4b091aa200caa118520b6918b94e019f532dcf
treee4e320f34ab88c2eda50a9f2195e656162e5c180
parentd5d0804f8f6d0c89913f6a2de5348adef8ec33e4
drm/i915: Restore debugfs/i915_gem_gtt back to its former glory

The passed in flag that distinguishes i915_gem_pin_display from
i915_gem_gtt is from node->info_ent->data not the data function
parameter.

Fixes: 6da8482936c7 ("drm/i915: Focus debugfs/i915_gem_pinned to show...")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160819115625.17688-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c