drm/i915/uc: Add intel_uc_fw_type_repr()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 30 Mar 2017 11:21:12 +0000 (11:21 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 31 Mar 2017 07:39:39 +0000 (10:39 +0300)
commit5e065f1f49a352376f1004cc107712ee9231fee7
tree0f609fcb513f77464ef6c1ca6ea5776987c0691c
parent4f1cd3eb16aa83c8a3981dba6815f45dab7e2d84
drm/i915/uc: Add intel_uc_fw_type_repr()

Some of the DRM_NOTE messages are just using "uC" without specifying
which uc they are related to. We can be more user friendly.

v2: moved to the header (Joonas)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uc.h