* [PATCH] intel: Add Geminilake PCI IDs
[not found] <20161110182013.7504-1-benjamin.widawsky@intel.com>
@ 2016-11-10 18:28 ` Ben Widawsky
2016-11-11 20:25 ` Anuj Phogat
0 siblings, 1 reply; 2+ messages in thread
From: Ben Widawsky @ 2016-11-10 18:28 UTC (permalink / raw)
To: DRI Development; +Cc: mesa-dev, Intel GFX, Ben Widawsky
From: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
intel/intel_chipset.h | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 514f659..41fc0da 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -218,6 +218,9 @@
#define PCI_CHIP_BROXTON_3 0x1A85
#define PCI_CHIP_BROXTON_4 0x5A85
+#define PCI_CHIP_GLK 0x3184
+#define PCI_CHIP_GLK_2X6 0x3185
+
#define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \
(devid) == PCI_CHIP_I915_GM || \
(devid) == PCI_CHIP_I945_GM || \
@@ -446,9 +449,13 @@
(devid) == PCI_CHIP_BROXTON_3 || \
(devid) == PCI_CHIP_BROXTON_4)
-#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
- IS_BROXTON(devid) || \
- IS_KABYLAKE(devid))
+#define IS_GEMINILAKE(devid) ((devid) == PCI_CHIP_GLK || \
+ (devid) == PCI_CHIP_GLK_2X6)
+
+#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
+ IS_BROXTON(devid) || \
+ IS_KABYLAKE(devid) || \
+ IS_GEMINILAKE(devid))
#define IS_9XX(dev) (IS_GEN3(dev) || \
IS_GEN4(dev) || \
--
2.10.2
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] intel: Add Geminilake PCI IDs
2016-11-10 18:28 ` [PATCH] intel: Add Geminilake PCI IDs Ben Widawsky
@ 2016-11-11 20:25 ` Anuj Phogat
0 siblings, 0 replies; 2+ messages in thread
From: Anuj Phogat @ 2016-11-11 20:25 UTC (permalink / raw)
To: Ben Widawsky; +Cc: mesa-dev, Intel GFX, Ben Widawsky, DRI Development
On Thu, Nov 10, 2016 at 10:28 AM, Ben Widawsky
<benjamin.widawsky@intel.com> wrote:
>
> From: Ben Widawsky <ben@bwidawsk.net>
>
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
> ---
> intel/intel_chipset.h | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 514f659..41fc0da 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -218,6 +218,9 @@
> #define PCI_CHIP_BROXTON_3 0x1A85
> #define PCI_CHIP_BROXTON_4 0x5A85
>
> +#define PCI_CHIP_GLK 0x3184
> +#define PCI_CHIP_GLK_2X6 0x3185
> +
> #define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \
> (devid) == PCI_CHIP_I915_GM || \
> (devid) == PCI_CHIP_I945_GM || \
> @@ -446,9 +449,13 @@
> (devid) == PCI_CHIP_BROXTON_3 || \
> (devid) == PCI_CHIP_BROXTON_4)
>
> -#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
> - IS_BROXTON(devid) || \
> - IS_KABYLAKE(devid))
> +#define IS_GEMINILAKE(devid) ((devid) == PCI_CHIP_GLK || \
> + (devid) == PCI_CHIP_GLK_2X6)
> +
> +#define IS_GEN9(devid) (IS_SKYLAKE(devid) || \
> + IS_BROXTON(devid) || \
> + IS_KABYLAKE(devid) || \
> + IS_GEMINILAKE(devid))
>
> #define IS_9XX(dev) (IS_GEN3(dev) || \
> IS_GEN4(dev) || \
> --
> 2.10.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
IDs cross checked in graphics specs.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-11 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20161110182013.7504-1-benjamin.widawsky@intel.com>
2016-11-10 18:28 ` [PATCH] intel: Add Geminilake PCI IDs Ben Widawsky
2016-11-11 20:25 ` Anuj Phogat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).