]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/guc: Log significant events at the info level
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 7 Feb 2017 08:50:25 +0000 (08:50 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 8 Feb 2017 16:00:01 +0000 (16:00 +0000)
commitfb51ff40956ddef8f7d9448265ad3edc67eb0b2b
tree8d7a62fea5bd57a477813932d56a13d80502928a
parent8385c2ecd47941072bdb3900bc272553ceb957e3
drm/i915/guc: Log significant events at the info level

Currently to establish whether GuC firmware has been loaded or
submission enabled (default DRM log level), one has to detect
the absence of the message saying that the load has been skipped
and infer the opposite.

It is better to log the fact GuC firmware has been loaded and/or
submission enabled explicitly to avoid any guesswork when looking
at the logs.

v2:
  * Log message polish. (Chris)
  * Future proof by reporting found firmware version. (Michal)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/1486457425-32548-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_guc_loader.c