All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [PATCH i-g-t] tools: Add missing Kabylake codename strings.
Date: Mon, 25 Apr 2016 14:38:22 -0700	[thread overview]
Message-ID: <1461620302-23468-1-git-send-email-rodrigo.vivi@intel.com> (raw)
In-Reply-To: <1461619410-31687-1-git-send-email-rodrigo.vivi@intel.com>

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 <rodrigo.vivi@intel.com>
---
 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 8c24230..aec4177 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 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))
-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2016-04-25 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25 21:23 [PATCH i-g-t] tools: Add missing Kabylake codename strings Rodrigo Vivi
2016-04-25 21:38 ` Rodrigo Vivi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461620302-23468-1-git-send-email-rodrigo.vivi@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.