OSDN Git Service

drm/i915/skl: Store and print the DMC firmware version we load
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 27 Oct 2015 12:46:59 +0000 (14:46 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Nov 2015 17:14:11 +0000 (19:14 +0200)
commitb6e7d894c3d211b87dd7fde11b2916ecfc20179a
tree9ff1077c78efea64633a1bfbb80345800cbdb2a6
parent51f1385b90c1ad30896bd62b1ff97aa4edb1a163
drm/i915/skl: Store and print the DMC firmware version we load

That can be handy later on to tell which DMC firmware version the user
has, by just looking at the dmesg.

v2: use DRM_DEBUG_DRIVER (Chris)
v3: use DRM_INFO (Marc Herbert)

Cc: Marc Herbert <marc.herbert@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> (v1)
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1445950025-5793-1-git-send-email-mika.kuoppala@intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
Tested-by: Daniel Stone <daniels@collabora.com> # SKL
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_csr.c