]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Update debugfs describe_obj() to show fault-mappable
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 11:48:27 +0000 (12:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 15:27:14 +0000 (16:27 +0100)
commite3f46391a128e9e82180197d1722dad7f519b654
treec3f7529de887f8f71cd425812be4a662878b4a6e
parentc46af09402dbaa9c9005ff5d35240c038df89c7a
drm/i915: Update debugfs describe_obj() to show fault-mappable

The current meaning of whether an object has a GGTT vma is very
ill-defined (and note we don't check for any partials either), it just
means that at some point it was in the GGTT but it may not be now. The
information we really care about here is whether it is taking up
precious mappable aperture space. This is the obj->fault_mappable flag.
We have a redundant long form reprinting of this information, so remove
that in favour of the compact flag.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161012114827.17031-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c