drm/i915/guc: Expand guc_info debugfs with more information
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 1 Jul 2020 14:27:52 +0000 (16:27 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jul 2020 09:27:29 +0000 (10:27 +0100)
commitba06216d00275f07dc7750bd21e9c3385e1188aa
treee3a75c138b2b21fe7bc6acda7d7cd0055538ea76
parent1fe541ccef9ffaf654a29d1bfd9206a2c350d11b
drm/i915/guc: Expand guc_info debugfs with more information

The information about platform/driver/user view of GuC firmware usage
currently requires user to either go through kernel log or parse the
combination of "enable_guc" modparam and various debugfs entries.
Let's keep things simple and add a "supported/used/wanted" matrix
(already used internally by i915) in guc_info debugfs.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701142752.419878-1-michal@hardline.pl
drivers/gpu/drm/i915/gt/uc/intel_guc.c