OSDN Git Service

drm/i915/guc: add doorbell map to debugfs/i915_guc_info
authorDave Gordon <david.s.gordon@intel.com>
Mon, 13 Jun 2016 16:57:28 +0000 (17:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 14 Jun 2016 14:04:06 +0000 (15:04 +0100)
commit9636f6dbba1dbded9741b2c21fb751d266016681
treef281aa99226c7ce897e9830339d79a989f1d689c
parent780f0aebda2e2f9df4cc5ddda411a724db7a1dcc
drm/i915/guc: add doorbell map to debugfs/i915_guc_info

To properly verify the driver->doorbell->GuC functionality, validation
needs to know how the driver has assigned the doorbell cache lines and
registers, so make them visible through debugfs.

v2: use kernel bitmap-printing format (%pb) rather than %x.

Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c