diff mbox

intel: Adding missing Broxton PCI IDs.

Message ID 1456881143-2121-1-git-send-email-rodrigo.vivi@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rodrigo Vivi March 2, 2016, 1:12 a.m. UTC
These IDs were already part of the kernel since:

kernel commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0
Author: Imre Deak <imre.deak@intel.com>
Date:   Thu Jan 28 16:04:12 2016 +0200

    drm/i915/bxt: update list of PCIIDs

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com>
---
 intel/intel_chipset.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Taylor, Clinton A March 2, 2016, 5:19 p.m. UTC | #1
On 03/01/2016 05:12 PM, Rodrigo Vivi wrote:
> These IDs were already part of the kernel since:
>
> kernel commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0
> Author: Imre Deak <imre.deak@intel.com>
> Date:   Thu Jan 28 16:04:12 2016 +0200
>
>      drm/i915/bxt: update list of PCIIDs
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com>
> ---
>   intel/intel_chipset.h | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 35148e5..8e42a40 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -213,6 +213,8 @@
>   #define PCI_CHIP_BROXTON_0		0x0A84
>   #define PCI_CHIP_BROXTON_1		0x1A84
>   #define PCI_CHIP_BROXTON_2		0x5A84
> +#define PCI_CHIP_BROXTON_3		0x1A85
> +#define PCI_CHIP_BROXTON_4		0x5A85
>
>   #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
>   				 (devid) == PCI_CHIP_I915_GM || \
> @@ -436,7 +438,9 @@
>
>   #define IS_BROXTON(devid)	((devid) == PCI_CHIP_BROXTON_0	|| \
>   				 (devid) == PCI_CHIP_BROXTON_1	|| \
> -				 (devid) == PCI_CHIP_BROXTON_2)
> +				 (devid) == PCI_CHIP_BROXTON_2	|| \
> +				 (devid) == PCI_CHIP_BROXTON_3	|| \
> +				 (devid) == PCI_CHIP_BROXTON_4)
>
>   #define IS_GEN9(devid)		(IS_SKYLAKE(devid) || \
>   				 IS_BROXTON(devid) || \
>

Device list now matches the kernels entries. Thanks.

Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
diff mbox

Patch

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 35148e5..8e42a40 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -213,6 +213,8 @@ 
 #define PCI_CHIP_BROXTON_0		0x0A84
 #define PCI_CHIP_BROXTON_1		0x1A84
 #define PCI_CHIP_BROXTON_2		0x5A84
+#define PCI_CHIP_BROXTON_3		0x1A85
+#define PCI_CHIP_BROXTON_4		0x5A85
 
 #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
 				 (devid) == PCI_CHIP_I915_GM || \
@@ -436,7 +438,9 @@ 
 
 #define IS_BROXTON(devid)	((devid) == PCI_CHIP_BROXTON_0	|| \
 				 (devid) == PCI_CHIP_BROXTON_1	|| \
-				 (devid) == PCI_CHIP_BROXTON_2)
+				 (devid) == PCI_CHIP_BROXTON_2	|| \
+				 (devid) == PCI_CHIP_BROXTON_3	|| \
+				 (devid) == PCI_CHIP_BROXTON_4)
 
 #define IS_GEN9(devid)		(IS_SKYLAKE(devid) || \
 				 IS_BROXTON(devid) || \