diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2018-03-19 12:53:44 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-19 15:23:02 +0300 |
commit | 5e24e4a240770008ed46d90d6571ec27b5e2bd5b (patch) | |
tree | acf8add17ac1108d97646b70dbdb90221c83f891 /drivers/gpu/drm/i915/intel_guc_fwif.h | |
parent | db5579934f2fc8d916fe29355ac0c716acf1d921 (diff) | |
download | linux-5e24e4a240770008ed46d90d6571ec27b5e2bd5b.tar.xz |
drm/i915/guc: Don't print out relay statistics when relay is disabled
If nobody has enabled the relay, we're not comunicating with GuC, which
means that the stats don't have any meaning. Let's also remove interrupt
counter and tidy the debugfs formatting.
v2: Correct stats accounting (Sagar)
v3: Corrected one more error in stats accounting, move relay_enabled (Sagar)
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180319095348.9716-9-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_fwif.h')
0 files changed, 0 insertions, 0 deletions