All of lore.kernel.org
 help / color / mirror / Atom feed
From: Imre Deak <imre.deak@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 4/8] lib/bxt: Add Broxton PCI ids
Date: Tue, 31 Mar 2015 20:32:32 +0300	[thread overview]
Message-ID: <1427823156-19512-5-git-send-email-imre.deak@intel.com> (raw)
In-Reply-To: <1427823156-19512-1-git-send-email-imre.deak@intel.com>

From: Damien Lespiau <damien.lespiau@intel.com>

v2: Rebase on top of the SKL upstreaming

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
---
 lib/intel_chipset.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 3c66744..37554e6 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -206,6 +206,11 @@ void intel_check_pch(void);
 #define PCI_CHIP_SKYLAKE_SRV_GT1	0x190A
 #define PCI_CHIP_SKYLAKE_WKS_GT2 	0x191D
 
+#define PCI_CHIP_BROXTON_0		0x0A84
+#define PCI_CHIP_BROXTON_1		0x0A85
+#define PCI_CHIP_BROXTON_2		0x0A86
+#define PCI_CHIP_BROXTON_3		0x0A87
+
 #endif /* __GTK_DOC_IGNORE__ */
 
 #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
@@ -390,7 +395,12 @@ void intel_check_pch(void);
 				 IS_SKL_GT2(devid) || \
 				 IS_SKL_GT3(devid))
 
-#define IS_GEN9(devid)		IS_SKYLAKE(devid)
+#define IS_BROXTON(devid)	((devid) == PCI_CHIP_BROXTON_0 || \
+				 (devid) == PCI_CHIP_BROXTON_1 || \
+				 (devid) == PCI_CHIP_BROXTON_2 || \
+				 (devid) == PCI_CHIP_BROXTON_3)
+
+#define IS_GEN9(devid)		(IS_SKYLAKE(devid) || IS_BROXTON(devid))
 
 #define IS_965(devid)		(IS_GEN4(devid) || \
 				 IS_GEN5(devid) || \
-- 
2.1.0

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

  parent reply	other threads:[~2015-03-31 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 17:32 [PATCH 0/8] igt: add basic Broxton support Imre Deak
2015-03-31 17:32 ` [PATCH 1/8] tools/intel_bios_reader: fix SSC freq for VLV/CHV Imre Deak
2015-03-31 17:32 ` [PATCH 2/8] lib/intel_chipset: fix HAS_PCH_SPLIT on CHV Imre Deak
2015-03-31 17:32 ` [PATCH 3/8] lib/intel_chipset: fix HAS_PCH_SPLIT on GEN9 Imre Deak
2015-03-31 17:32 ` Imre Deak [this message]
2015-03-31 17:32 ` [PATCH 5/8] list-workarounds/bxt: Add Broxton to the list of valid platorms Imre Deak
2015-03-31 17:32 ` [PATCH 6/8] tools/intel_bios_read: fix SSC freq for BXT Imre Deak
2015-03-31 17:32 ` [PATCH 7/8] tools/intel_reg_dumper: fix DSPCNTR decode " Imre Deak
2015-03-31 17:32 ` [PATCH 8/8] tools/intel_reg_dumper: fix PIPECONF decode Imre Deak

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=1427823156-19512-5-git-send-email-imre.deak@intel.com \
    --to=imre.deak@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.