- U_intel-add-Ivy-Bridge-GT2-server-variant.patch

* intel: add Ivy Bridge GT2 server variant (bnc#769209)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=109
This commit is contained in:
Stefan Dirsch 2012-06-29 09:33:25 +00:00 committed by Git OBS Bridge
parent 83dae9355b
commit efcebbd946
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,37 @@
From e057a56448e2e785f74bc13dbd6ead8572ebed91 Mon Sep 17 00:00:00 2001
From: Eugeni Dodonov <eugeni@dodonov.net>
Date: Thu, 29 Mar 2012 21:03:29 -0300
Subject: [PATCH] intel: add Ivy Bridge GT2 server variant
We were missing this one and it is being used by Bromolow.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
---
intel/intel_chipset.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 435d01a..9c1abc8 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -44,6 +44,7 @@
#define PCI_CHIP_IVYBRIDGE_M_GT1 0x0156 /* mobile */
#define PCI_CHIP_IVYBRIDGE_M_GT2 0x0166
#define PCI_CHIP_IVYBRIDGE_S 0x015a /* server */
+#define PCI_CHIP_IVYBRIDGE_S_GT2 0x016a /* server */
#define PCI_CHIP_HASWELL_GT1 0x0402 /* Desktop */
#define PCI_CHIP_HASWELL_GT2 0x0412
@@ -128,7 +129,8 @@
dev == PCI_CHIP_IVYBRIDGE_GT2 || \
dev == PCI_CHIP_IVYBRIDGE_M_GT1 || \
dev == PCI_CHIP_IVYBRIDGE_M_GT2 || \
- dev == PCI_CHIP_IVYBRIDGE_S)
+ dev == PCI_CHIP_IVYBRIDGE_S || \
+ dev == PCI_CHIP_IVYBRIDGE_S_GT2)
#define IS_HSW_GT1(devid) (devid == PCI_CHIP_HASWELL_GT1 || \
devid == PCI_CHIP_HASWELL_M_GT1)
--
1.7.3.4

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 29 09:27:32 UTC 2012 - sndirsch@suse.com
- U_intel-add-Ivy-Bridge-GT2-server-variant.patch
* intel: add Ivy Bridge GT2 server variant (bnc#769209)
-------------------------------------------------------------------
Wed Jun 27 20:04:08 UTC 2012 - guillaume@opensuse.org

View File

@ -38,6 +38,7 @@ Source: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
Source2: baselibs.conf
# PATCH-FIX-UPSTREAM libdrm-implicit-defs.diff fdo#48599 -- Fix compiler warnings in tests/radeon/radeon_ttm.c
Patch1: libdrm-implicit-defs.diff
Patch2: U_intel-add-Ivy-Bridge-GT2-server-variant.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.63, automake >= 1.10
BuildRequires: libtool >= 2.2
@ -150,6 +151,7 @@ Group: System/Libraries
%prep
%setup -q
%patch -P 1 -p1
%patch2 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"