From e279954f1eb2c5cf9234ebbc3c1de201013ca422 Mon Sep 17 00:00:00 2001 From: Rodrigo Vivi Date: Mon, 25 Apr 2016 14:21:22 -0700 Subject: [PATCH] tools: Add missing Kabylake codename strings. No functional change and no change in the current format. Just introducing the missing Kabylake name strings. v2: Duh! forgot the ")"... Signed-off-by: Rodrigo Vivi --- tools/intel_audio_dump.c | 3 ++- tools/intel_reg.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c index 8c24230d..aec4177c 100644 --- a/tools/intel_audio_dump.c +++ b/tools/intel_audio_dump.c @@ -2483,8 +2483,9 @@ 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"))); + (IS_BROADWELL(devid) ? "Broadwell" : "Haswell")))); dump_hsw_plus(); } else if (IS_GEN6(devid) || IS_GEN7(devid) || getenv("HAS_PCH_SPLIT")) { diff --git a/tools/intel_reg.c b/tools/intel_reg.c index 84b3c9de..92be1ce7 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))