All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] intel: Add the Broxton PCI IDs
@ 2015-05-15 18:44 Damien Lespiau
  2015-05-18 12:12 ` Imre Deak
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Lespiau @ 2015-05-15 18:44 UTC (permalink / raw)
  To: intel-gfx

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 intel/intel_chipset.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index e22a867..253ea71 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -181,6 +181,10 @@
 #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		0x1A84
+#define PCI_CHIP_BROXTON_2		0x5A84
+
 #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
 				 (devid) == PCI_CHIP_I915_GM || \
 				 (devid) == PCI_CHIP_I945_GM || \
@@ -362,7 +366,12 @@
 				 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)
+
+#define IS_GEN9(devid)		(IS_SKYLAKE(devid) || \
+				 IS_BROXTON(devid))
 
 #define IS_9XX(dev)		(IS_GEN3(dev) || \
 				 IS_GEN4(dev) || \
-- 
2.1.0

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] intel: Add the Broxton PCI IDs
  2015-05-15 18:44 [PATCH libdrm] intel: Add the Broxton PCI IDs Damien Lespiau
@ 2015-05-18 12:12 ` Imre Deak
  2015-05-18 15:25   ` Damien Lespiau
  0 siblings, 1 reply; 3+ messages in thread
From: Imre Deak @ 2015-05-18 12:12 UTC (permalink / raw)
  To: Damien Lespiau; +Cc: intel-gfx

On pe, 2015-05-15 at 19:44 +0100, Damien Lespiau wrote:
> Cc: Imre Deak <imre.deak@intel.com>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

Reviewed-by: Imre Deak <imre.deak@intel.com>

> ---
>  intel/intel_chipset.h | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index e22a867..253ea71 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -181,6 +181,10 @@
>  #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		0x1A84
> +#define PCI_CHIP_BROXTON_2		0x5A84
> +
>  #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
>  				 (devid) == PCI_CHIP_I915_GM || \
>  				 (devid) == PCI_CHIP_I945_GM || \
> @@ -362,7 +366,12 @@
>  				 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)
> +
> +#define IS_GEN9(devid)		(IS_SKYLAKE(devid) || \
> +				 IS_BROXTON(devid))
>  
>  #define IS_9XX(dev)		(IS_GEN3(dev) || \
>  				 IS_GEN4(dev) || \


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] intel: Add the Broxton PCI IDs
  2015-05-18 12:12 ` Imre Deak
@ 2015-05-18 15:25   ` Damien Lespiau
  0 siblings, 0 replies; 3+ messages in thread
From: Damien Lespiau @ 2015-05-18 15:25 UTC (permalink / raw)
  To: Imre Deak; +Cc: intel-gfx

On Mon, May 18, 2015 at 03:12:06PM +0300, Imre Deak wrote:
> On pe, 2015-05-15 at 19:44 +0100, Damien Lespiau wrote:
> > Cc: Imre Deak <imre.deak@intel.com>
> > Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
> 
> Reviewed-by: Imre Deak <imre.deak@intel.com>

Thanks for the review, pushed.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-18 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 18:44 [PATCH libdrm] intel: Add the Broxton PCI IDs Damien Lespiau
2015-05-18 12:12 ` Imre Deak
2015-05-18 15:25   ` Damien Lespiau

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.