OSDN Git Service

drm/i915: Expand ggtt_view parameters for debugfs
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Jan 2017 11:21:08 +0000 (11:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Jan 2017 16:47:04 +0000 (16:47 +0000)
commit21976853fcb0bb8a507264a0cf2f44db29ecca82
tree13d01c474b515170bef976f70146ca5164e08a24
parentfcd46e53449c4d659ffbedcd2823ea2f73e39927
drm/i915: Expand ggtt_view parameters for debugfs

When dumping the VMA, include the parameters of the different GGTT views
so that we can distinguish them.

v2: Contract output and add MISSING_CASE for any unknown types.
v3: Show both stride and offset for rotated planes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170112112108.31632-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c