diff mbox

[i-g-t] tools: Add missing Kabylake codename strings.

Message ID 1461619410-31687-1-git-send-email-rodrigo.vivi@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vivi, Rodrigo April 25, 2016, 9:23 p.m. UTC
No functional change and no change in the current format.
Just introducing the missing Kabylake name strings.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tools/intel_audio_dump.c | 1 +
 tools/intel_reg.c        | 2 ++
 2 files changed, 3 insertions(+)
diff mbox

Patch

diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index 8c24230..b98c505 100644
--- a/tools/intel_audio_dump.c
+++ b/tools/intel_audio_dump.c
@@ -2483,6 +2483,7 @@  int main(int argc, char **argv)
 		|| IS_BROADWELL(devid) || IS_HASWELL(devid)) {
 		printf("%s audio registers:\n\n",
 			IS_BROXTON(devid) ? "Broxton" :
+			(IS_KABYLAKE(devid) ? "Kabylake" :
 			(IS_SKYLAKE(devid) ? "Skylake" :
 			(IS_BROADWELL(devid) ? "Broadwell" : "Haswell")));
 		dump_hsw_plus();
diff --git a/tools/intel_reg.c b/tools/intel_reg.c
index 84b3c9d..92be1ce 100644
--- a/tools/intel_reg.c
+++ b/tools/intel_reg.c
@@ -669,6 +669,8 @@  static const char *get_codename(uint32_t devid)
 		return "broadwell";
 	else if (IS_SKYLAKE(devid))
 		return "skylake";
+	else if (IS_KABYLAKE(devid))
+		return "kabylake";
 	else if (IS_CHERRYVIEW(devid))
 		return "cherryview";
 	else if (IS_VALLEYVIEW(devid))