Skip to contentSkip to conversation

tools: Add missing Kabylake codename strings.

PATCH New Rodrigo Vivi 1 participant 2 messages Apr 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: Add missing Kabylake codename strings.

No functional change and no change in the current format. Just introducing the missing Kabylake name strings.

---
 tools/intel_audio_dump.c | 1 +
 tools/intel_reg.c        | 2 ++
 2 files changed, 3 insertions(+)
tools/intel_audio_dump.c +1 -0
index 8c24230..b98c505 100644
@@ -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();
tools/intel_reg.c +2 -0
index 84b3c9d..92be1ce 100644
@@ -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))
Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

PATCH 1/1 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 ")"...

---
 tools/intel_audio_dump.c | 3 ++-
 tools/intel_reg.c        | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
tools/intel_audio_dump.c +2 -1
index 8c24230..aec4177 100644
@@ -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")) {
tools/intel_reg.c +2 -0
index 84b3c9d..92be1ce 100644
@@ -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))
Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx