drm/i915/uc: Add pretty printer for uc firmware
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 17 Oct 2017 09:44:49 +0000 (09:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 17 Oct 2017 15:42:56 +0000 (16:42 +0100)
commit56ffc7427c2b0b27d732a15e062f0c7cdf62c173
tree303df2d9a9a587c5556640999a5e0395165f0475
parent091a4f91942a4396c67e5747f5cb38c6396d1fc5
drm/i915/uc: Add pretty printer for uc firmware

Debugfs for GuC and HuC load info have similar common part.
Move and update dump of uc_fw to separate helper for reuse.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171017094449.22584-1-michal.wajdeczko@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_uc_fw.c
drivers/gpu/drm/i915/intel_uc_fw.h