diff mbox

[1/3] drm/i915: fix INTEL_BDW_IDS definition

Message ID 1483473860-17644-1-git-send-email-paulo.r.zanoni@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zanoni, Paulo R Jan. 3, 2017, 8:04 p.m. UTC
Remove duplicated IDs from the list. Currently, this definition is
only used by early-quirks.c. From my understanding of the code, having
duplicated IDs shouldn't be causing any bugs.

Fixes: 8d9c20e1d1e3 ("drm/i915: Remove .is_mobile field from platform struct")
Cc: Carlos Santa <carlos.santa@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
 include/drm/i915_pciids.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Rodrigo Vivi Jan. 3, 2017, 8:33 p.m. UTC | #1
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


On Tue, 2017-01-03 at 18:04 -0200, Paulo Zanoni wrote:
> Remove duplicated IDs from the list. Currently, this definition is

> only used by early-quirks.c. From my understanding of the code, having

> duplicated IDs shouldn't be causing any bugs.

> 

> Fixes: 8d9c20e1d1e3 ("drm/i915: Remove .is_mobile field from platform struct")

> Cc: Carlos Santa <carlos.santa@intel.com>

> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>

> ---

>  include/drm/i915_pciids.h | 2 --

>  1 file changed, 2 deletions(-)

> 

> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h

> index 540be9f..ae97551 100644

> --- a/include/drm/i915_pciids.h

> +++ b/include/drm/i915_pciids.h

> @@ -240,8 +240,6 @@

>  	INTEL_BDW_GT12_IDS(info), \

>  	INTEL_BDW_GT3_IDS(info), \

>  	INTEL_BDW_RSVDM_IDS(info), \

> -	INTEL_BDW_GT12_IDS(info), \

> -	INTEL_BDW_GT3_IDS(info), \

>  	INTEL_BDW_RSVDD_IDS(info)

>  

>  #define INTEL_CHV_IDS(info) \
diff mbox

Patch

diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
index 540be9f..ae97551 100644
--- a/include/drm/i915_pciids.h
+++ b/include/drm/i915_pciids.h
@@ -240,8 +240,6 @@ 
 	INTEL_BDW_GT12_IDS(info), \
 	INTEL_BDW_GT3_IDS(info), \
 	INTEL_BDW_RSVDM_IDS(info), \
-	INTEL_BDW_GT12_IDS(info), \
-	INTEL_BDW_GT3_IDS(info), \
 	INTEL_BDW_RSVDD_IDS(info)
 
 #define INTEL_CHV_IDS(info) \