Makefile.am                                                |    2 
 bin/.cherry-ignore                                         |   16 
 configure.ac                                               |   58 +-
 debian/changelog                                           |  180 +++++--
 debian/control                                             |   68 --
 debian/libegl1-mesa.symbols                                |   18 
 debian/libgl1-mesa-dri.install.hurd.in                     |    2 
 debian/libgl1-mesa-dri.install.in                          |    2 
 debian/libgl1-mesa-dri.install.kfreebsd.in                 |    3 
 debian/not-installed                                       |    1 
 debian/patches/01_gbm_egl.diff                             |   14 
 debian/patches/02_gbm_no_undefined.diff                    |   22 
 debian/patches/05_kfreebsd-egl-x11.diff                    |   28 -
 debian/patches/CVE-2013-1872.patch                         |   78 ---
 debian/patches/CVE-2013-1993.patch                         |   45 -
 debian/patches/add-more-reserved-hsw-ids.diff              |  231 ---------
 debian/patches/add-vlv-ids.diff                            |   97 ---
 debian/patches/fix-hsw-gt3-names.diff                      |  238 ---------
 debian/patches/fix-missing-gt3-id.diff                     |   26 -
 debian/patches/revert-a64c1eb9b110.diff                    |    3 
 debian/patches/series                                      |   11 
 debian/rules                                               |   35 -
 docs/relnotes-9.1.3.html                                   |    4 
 docs/relnotes-9.1.4.html                                   |  319 +++++++++++++
 include/pci_ids/i965_pci_ids.h                             |   53 +-
 include/pci_ids/radeonsi_pci_ids.h                         |    7 
 scons/custom.py                                            |    3 
 src/egl/drivers/dri2/platform_android.c                    |   16 
 src/gallium/auxiliary/gallivm/lp_bld_debug.cpp             |    4 
 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp              |    6 
 src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c          |   13 
 src/gallium/auxiliary/util/u_vbuf.c                        |    3 
 src/gallium/drivers/nv50/nv50_context.c                    |    1 
 src/gallium/drivers/nvc0/nvc0_screen.c                     |    1 
 src/gallium/drivers/nvc0/nvc0_video.c                      |    8 
 src/gallium/drivers/nvc0/nvc0_video_ppp.c                  |    2 
 src/gallium/drivers/nvc0/nvc0_video_vp.c                   |    3 
 src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c   |    8 
 src/gallium/drivers/r600/r600_state_common.c               |    3 
 src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c        |    2 
 src/gallium/drivers/radeonsi/radeonsi_pipe.c               |    1 
 src/gallium/drivers/radeonsi/radeonsi_pipe.h               |    1 
 src/gallium/drivers/radeonsi/radeonsi_shader.c             |    7 
 src/gallium/drivers/radeonsi/radeonsi_shader.h             |    6 
 src/gallium/drivers/radeonsi/si_state.c                    |    8 
 src/gallium/drivers/radeonsi/si_state.h                    |    1 
 src/gallium/drivers/radeonsi/si_state_draw.c               |   19 
 src/gallium/state_trackers/glx/xlib/glx_api.c              |   26 -
 src/gallium/state_trackers/glx/xlib/xm_api.c               |    6 
 src/gallium/targets/dri-i915/Makefile.am                   |   10 
 src/gallium/winsys/radeon/drm/radeon_drm_winsys.c          |    3 
 src/gallium/winsys/radeon/drm/radeon_winsys.h              |    1 
 src/glsl/ast_to_hir.cpp                                    |   48 +
 src/glsl/builtin_variables.cpp                             |    2 
 src/glsl/glsl_parser.yy                                    |    6 
 src/glx/XF86dri.c                                          |   15 
 src/mapi/glapi/gen/es_EXT.xml                              |   23 
 src/mesa/drivers/common/meta.c                             |    4 
 src/mesa/drivers/dri/common/xmlpool/Makefile.am            |    2 
 src/mesa/drivers/dri/i915/i915_state.c                     |    9 
 src/mesa/drivers/dri/i965/brw_cc.c                         |    5 
 src/mesa/drivers/dri/i965/brw_context.c                    |    6 
 src/mesa/drivers/dri/i965/brw_context.h                    |    9 
 src/mesa/drivers/dri/i965/brw_draw_upload.c                |    8 
 src/mesa/drivers/dri/i965/brw_fs.cpp                       |   44 -
 src/mesa/drivers/dri/i965/brw_fs.h                         |    3 
 src/mesa/drivers/dri/i965/brw_fs_cse.cpp                   |    6 
 src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp        |    2 
 src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp          |    8 
 src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp |    6 
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp               |   10 
 src/mesa/drivers/dri/i965/brw_lower_texture_gradients.cpp  |    1 
 src/mesa/drivers/dri/i965/brw_misc_state.c                 |    2 
 src/mesa/drivers/dri/i965/brw_primitive_restart.c          |   39 +
 src/mesa/drivers/dri/i965/brw_vec4.cpp                     |    2 
 src/mesa/drivers/dri/i965/gen6_cc.c                        |    5 
 src/mesa/drivers/dri/i965/gen6_urb.c                       |   18 
 src/mesa/drivers/dri/i965/gen7_urb.c                       |   35 -
 src/mesa/drivers/dri/intel/intel_chipset.h                 |  113 +++-
 src/mesa/drivers/dri/intel/intel_context.c                 |   62 ++
 src/mesa/drivers/dri/intel/intel_context.h                 |    1 
 src/mesa/drivers/dri/intel/intel_fbo.c                     |   27 -
 src/mesa/drivers/dri/intel/intel_fbo.h                     |    1 
 src/mesa/drivers/dri/intel/intel_mipmap_tree.c             |   84 ++-
 src/mesa/drivers/dri/intel/intel_pixel_bitmap.c            |   36 +
 src/mesa/drivers/dri/intel/intel_screen.c                  |   10 
 src/mesa/drivers/dri/nouveau/nouveau_fbo.c                 |   10 
 src/mesa/drivers/dri/nouveau/nv04_state_raster.c           |    3 
 src/mesa/drivers/dri/nouveau/nv10_state_raster.c           |    4 
 src/mesa/drivers/dri/r200/r200_state.c                     |    3 
 src/mesa/drivers/dri/radeon/radeon_fbo.c                   |   24 
 src/mesa/drivers/dri/radeon/radeon_state.c                 |    4 
 src/mesa/drivers/x11/fakeglx.c                             |   24 
 src/mesa/main/api_arrayelt.c                               |    2 
 src/mesa/main/attrib.c                                     |    1 
 src/mesa/main/bufferobj.c                                  |   10 
 src/mesa/main/compiler.h                                   |    2 
 src/mesa/main/config.h                                     |    3 
 src/mesa/main/enable.c                                     |    5 
 src/mesa/main/fbobject.c                                   |   72 ++
 src/mesa/main/fbobject.h                                   |    5 
 src/mesa/main/framebuffer.c                                |   78 +--
 src/mesa/main/get.c                                        |    6 
 src/mesa/main/get_hash_params.py                           |    2 
 src/mesa/main/mtypes.h                                     |   16 
 src/mesa/main/stencil.c                                    |    9 
 src/mesa/main/stencil.h                                    |   14 
 src/mesa/main/teximage.c                                   |   27 -
 src/mesa/main/varray.c                                     |   29 +
 src/mesa/main/varray.h                                     |    2 
 src/mesa/main/version.h                                    |    4 
 src/mesa/program/ir_to_mesa.cpp                            |    2 
 src/mesa/state_tracker/st_atom_constbuf.c                  |   20 
 src/mesa/state_tracker/st_atom_depth.c                     |    7 
 src/mesa/state_tracker/st_cb_fbo.c                         |   22 
 src/mesa/state_tracker/st_draw.c                           |    4 
 src/mesa/state_tracker/st_extensions.c                     |   76 +--
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp                 |    2 
 src/mesa/swrast/s_stencil.c                                |    6 
 src/mesa/swrast/s_texrender.c                              |   38 -
 src/mesa/vbo/vbo_exec.c                                    |   20 
 src/mesa/vbo/vbo_exec.h                                    |    1 
 src/mesa/vbo/vbo_exec_array.c                              |   20 
 src/mesa/vbo/vbo_primitive_restart.c                       |    3 
 124 files changed, 1539 insertions(+), 1416 deletions(-)

New commits:
commit 4cf458b15d063df86e94cdb2480fbb5dfa693d56
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Tue Jul 2 13:17:49 2013 +0300

    release to saucy

diff --git a/debian/changelog b/debian/changelog
index d100c77..a834a8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (9.1.4-0ubuntu1) UNRELEASED; urgency=low
+mesa (9.1.4-0ubuntu1) saucy; urgency=low
 
   * Merge from unreleased debian git, remaining changes:
     - don't build libgl1-mesa-swx11*

commit 4a3c8c5a4aa9fb70c98c14686e6040643dd84dd6
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Tue Jul 2 11:54:08 2013 +0300

    drop patches, update a patch

diff --git a/debian/changelog b/debian/changelog
index a2af261..d100c77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ mesa (9.1.4-0ubuntu1) UNRELEASED; urgency=low
     - use alternatives for libEGL, libGL*, libOpenVG
     - build a common libgallium library to save disk space
     - clean up extra po files
+  * Drop patches now upstream.
+  * Update revert-a64c1eb9b110.diff.
 
  -- Timo Aaltonen <tjaal...@ubuntu.com>  Tue, 02 Jul 2013 10:06:51 +0300
 
diff --git a/debian/patches/CVE-2013-1872.patch 
b/debian/patches/CVE-2013-1872.patch
deleted file mode 100644
index 530b851..0000000
--- a/debian/patches/CVE-2013-1872.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-Description: fix denial of service and possible code execution via
- out-of-bands access
-Origin: backport, 
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0677ea063cd96adefe87c1fb01ef7c66d905535b
-Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59429
-
-Index: mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs.cpp
-===================================================================
---- mesa-9.1.3.orig/src/mesa/drivers/dri/i965/brw_fs.cpp       2013-06-18 
13:53:12.200524978 -0400
-+++ mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs.cpp    2013-06-18 
13:53:12.196524978 -0400
-@@ -786,6 +786,7 @@
-                          import_uniforms_callback,
-                          variable_ht);
-    this->params_remap = v->params_remap;
-+   this->nr_params_remap = v->nr_params_remap;
- }
- 
- /* Our support for uniforms is piggy-backed on the struct
-@@ -1458,6 +1459,7 @@
- {
-    if (dispatch_width == 8) {
-       this->params_remap = ralloc_array(mem_ctx, int, c->prog_data.nr_params);
-+      this->nr_params_remap = c->prog_data.nr_params;
- 
-       for (unsigned int i = 0; i < c->prog_data.nr_params; i++)
-        this->params_remap[i] = -1;
-@@ -1472,7 +1474,14 @@
-           if (inst->src[i].file != UNIFORM)
-              continue;
- 
--          assert(constant_nr < (int)c->prog_data.nr_params);
-+          /* Section 5.11 of the OpenGL 4.3 spec says:
-+           *
-+           *     "Out-of-bounds reads return undefined values, which include
-+           *     values from other variables of the active program or zero."
-+           */
-+          if (constant_nr < 0 || constant_nr >= (int)c->prog_data.nr_params) {
-+             constant_nr = 0;
-+          }
- 
-           /* For now, set this to non-negative.  We'll give it the
-            * actual new number in a moment, in order to keep the
-@@ -1520,6 +1529,10 @@
-        if (inst->src[i].file != UNIFORM)
-           continue;
- 
-+       /* as above alias to 0 */
-+       if (constant_nr < 0 || constant_nr >= (int)this->nr_params_remap) {
-+          constant_nr = 0;
-+       }
-        assert(this->params_remap[constant_nr] != -1);
-        inst->src[i].reg = this->params_remap[constant_nr];
-        inst->src[i].reg_offset = 0;
-Index: mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs.h
-===================================================================
---- mesa-9.1.3.orig/src/mesa/drivers/dri/i965/brw_fs.h 2013-06-18 
13:53:12.200524978 -0400
-+++ mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs.h      2013-06-18 
13:53:12.196524978 -0400
-@@ -431,6 +431,7 @@
-     * uniform index.
-     */
-    int *params_remap;
-+   int nr_params_remap;
- 
-    struct hash_table *variable_ht;
-    fs_reg frag_depth;
-Index: mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
-===================================================================
---- mesa-9.1.3.orig/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp       
2013-06-18 13:53:12.200524978 -0400
-+++ mesa-9.1.3/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp    2013-06-18 
13:53:12.196524978 -0400
-@@ -2273,6 +2273,9 @@
-    this->virtual_grf_use = NULL;
-    this->live_intervals_valid = false;
- 
-+   this->params_remap = NULL;
-+   this->nr_params_remap = 0;
-+
-    this->force_uncompressed_stack = 0;
-    this->force_sechalf_stack = 0;
- }
diff --git a/debian/patches/CVE-2013-1993.patch 
b/debian/patches/CVE-2013-1993.patch
deleted file mode 100644
index 377839f..0000000
--- a/debian/patches/CVE-2013-1993.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Description: fix denial of service and possible code execution via
- integer overflows
-Origin: upstream, 
http://cgit.freedesktop.org/mesa/mesa/commit?id=2e5a268f18be30df15aed0b44b01a18a37fb5df4
-Origin: upstream, 
http://cgit.freedesktop.org/mesa/mesa/commit?id=306f630e676eb901789dd09a0f30d7e7fa941ebe
-
-Index: mesa-9.1.3/src/glx/XF86dri.c
-===================================================================
---- mesa-9.1.3.orig/src/glx/XF86dri.c  2013-02-26 15:00:02.000000000 -0500
-+++ mesa-9.1.3/src/glx/XF86dri.c       2013-06-18 13:50:48.892526345 -0400
-@@ -43,6 +43,7 @@
- #include <X11/extensions/Xext.h>
- #include <X11/extensions/extutil.h>
- #include "xf86dristr.h"
-+#include <limits.h>
- 
- static XExtensionInfo _xf86dri_info_data;
- static XExtensionInfo *xf86dri_info = &_xf86dri_info_data;
-@@ -201,7 +202,11 @@
-    }
- 
-    if (rep.length) {
--      if (!(*busIdString = calloc(rep.busIdStringLength + 1, 1))) {
-+      if (rep.busIdStringLength < INT_MAX)
-+         *busIdString = calloc(rep.busIdStringLength + 1, 1);
-+      else
-+         *busIdString = NULL;
-+      if (*busIdString == NULL) {
-          _XEatData(dpy, ((rep.busIdStringLength + 3) & ~3));
-          UnlockDisplay(dpy);
-          SyncHandle();
-@@ -300,9 +305,11 @@
-    *ddxDriverPatchVersion = rep.ddxDriverPatchVersion;
- 
-    if (rep.length) {
--      if (!
--          (*clientDriverName =
--           calloc(rep.clientDriverNameLength + 1, 1))) {
-+      if (rep.clientDriverNameLength < INT_MAX)
-+         *clientDriverName = calloc(rep.clientDriverNameLength + 1, 1);
-+      else
-+         *clientDriverName = NULL;
-+      if (*clientDriverName == NULL) {
-          _XEatData(dpy, ((rep.clientDriverNameLength + 3) & ~3));
-          UnlockDisplay(dpy);
-          SyncHandle();
diff --git a/debian/patches/add-more-reserved-hsw-ids.diff 
b/debian/patches/add-more-reserved-hsw-ids.diff
deleted file mode 100644
index 294e389..0000000
--- a/debian/patches/add-more-reserved-hsw-ids.diff
+++ /dev/null
@@ -1,231 +0,0 @@
-commit ce67fb4715e0c2fab01de33da475ef4705622020
-Author: Rodrigo Vivi <rodrigo.v...@gmail.com>
-Date:   Mon May 13 17:53:39 2013 -0300
-
-    i965: Adding more reserved PCI IDs for Haswell.
-    
-    At DDX commit Chris mentioned the tendency we have of finding out more
-    PCI IDs only when users report. So Let's add all new reserved Haswell IDs.
-    
-    NOTE: This is a candidate for stable branches.
-    
-    Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=63701
-    Signed-off-by: Rodrigo Vivi <rodrigo.v...@gmail.com>
-    Acked-by: Kenneth Graunke <kenn...@whitecape.org>
-
-diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h
-index 3e9765c..808eb4e 100644
---- a/include/pci_ids/i965_pci_ids.h
-+++ b/include/pci_ids/i965_pci_ids.h
-@@ -35,6 +35,12 @@ CHIPSET(0x0426, HASWELL_M_GT3, hsw_gt3)
- CHIPSET(0x040A, HASWELL_S_GT1, hsw_gt1)
- CHIPSET(0x041A, HASWELL_S_GT2, hsw_gt2)
- CHIPSET(0x042A, HASWELL_S_GT3, hsw_gt3)
-+CHIPSET(0x040B, HASWELL_B_GT1, hsw_gt1)
-+CHIPSET(0x041B, HASWELL_B_GT2, hsw_gt2)
-+CHIPSET(0x042B, HASWELL_B_GT3, hsw_gt3)
-+CHIPSET(0x040E, HASWELL_E_GT1, hsw_gt1)
-+CHIPSET(0x041E, HASWELL_E_GT2, hsw_gt2)
-+CHIPSET(0x042E, HASWELL_E_GT3, hsw_gt3)
- CHIPSET(0x0C02, HASWELL_SDV_GT1, hsw_gt1)
- CHIPSET(0x0C12, HASWELL_SDV_GT2, hsw_gt2)
- CHIPSET(0x0C22, HASWELL_SDV_GT3, hsw_gt3)
-@@ -44,6 +50,12 @@ CHIPSET(0x0C26, HASWELL_SDV_M_GT3, hsw_gt3)
- CHIPSET(0x0C0A, HASWELL_SDV_S_GT1, hsw_gt1)
- CHIPSET(0x0C1A, HASWELL_SDV_S_GT2, hsw_gt2)
- CHIPSET(0x0C2A, HASWELL_SDV_S_GT3, hsw_gt3)
-+CHIPSET(0x0C0B, HASWELL_SDV_B_GT1, hsw_gt1)
-+CHIPSET(0x0C1B, HASWELL_SDV_B_GT2, hsw_gt2)
-+CHIPSET(0x0C2B, HASWELL_SDV_B_GT3, hsw_gt3)
-+CHIPSET(0x0C0E, HASWELL_SDV_E_GT1, hsw_gt1)
-+CHIPSET(0x0C1E, HASWELL_SDV_E_GT2, hsw_gt2)
-+CHIPSET(0x0C2E, HASWELL_SDV_E_GT3, hsw_gt3)
- CHIPSET(0x0A02, HASWELL_ULT_GT1, hsw_gt1)
- CHIPSET(0x0A12, HASWELL_ULT_GT2, hsw_gt2)
- CHIPSET(0x0A22, HASWELL_ULT_GT3, hsw_gt3)
-@@ -53,6 +65,12 @@ CHIPSET(0x0A26, HASWELL_ULT_M_GT3, hsw_gt3)
- CHIPSET(0x0A0A, HASWELL_ULT_S_GT1, hsw_gt1)
- CHIPSET(0x0A1A, HASWELL_ULT_S_GT2, hsw_gt2)
- CHIPSET(0x0A2A, HASWELL_ULT_S_GT3, hsw_gt3)
-+CHIPSET(0x0A0B, HASWELL_ULT_B_GT1, hsw_gt1)
-+CHIPSET(0x0A1B, HASWELL_ULT_B_GT2, hsw_gt2)
-+CHIPSET(0x0A2B, HASWELL_ULT_B_GT3, hsw_gt3)
-+CHIPSET(0x0A0E, HASWELL_ULT_E_GT1, hsw_gt1)
-+CHIPSET(0x0A1E, HASWELL_ULT_E_GT2, hsw_gt2)
-+CHIPSET(0x0A2E, HASWELL_ULT_E_GT3, hsw_gt3)
- CHIPSET(0x0D02, HASWELL_CRW_GT1, hsw_gt1)
- CHIPSET(0x0D12, HASWELL_CRW_GT2, hsw_gt2)
- CHIPSET(0x0D22, HASWELL_CRW_GT3, hsw_gt3)
-@@ -62,6 +80,12 @@ CHIPSET(0x0D26, HASWELL_CRW_M_GT3, hsw_gt3)
- CHIPSET(0x0D0A, HASWELL_CRW_S_GT1, hsw_gt1)
- CHIPSET(0x0D1A, HASWELL_CRW_S_GT2, hsw_gt2)
- CHIPSET(0x0D2A, HASWELL_CRW_S_GT3, hsw_gt3)
-+CHIPSET(0x0D0B, HASWELL_CRW_B_GT1, hsw_gt1)
-+CHIPSET(0x0D1B, HASWELL_CRW_B_GT2, hsw_gt2)
-+CHIPSET(0x0D2B, HASWELL_CRW_B_GT3, hsw_gt3)
-+CHIPSET(0x0D0E, HASWELL_CRW_E_GT1, hsw_gt1)
-+CHIPSET(0x0D1E, HASWELL_CRW_E_GT2, hsw_gt2)
-+CHIPSET(0x0D2E, HASWELL_CRW_E_GT3, hsw_gt3)
- CHIPSET(0x0F31, BAYTRAIL_M_1, byt)
- CHIPSET(0x0F32, BAYTRAIL_M_2, byt)
- CHIPSET(0x0F33, BAYTRAIL_M_3, byt)
-diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h 
b/src/mesa/drivers/dri/intel/intel_chipset.h
-index ee735bb..1e98cf4 100644
---- a/src/mesa/drivers/dri/intel/intel_chipset.h
-+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
-@@ -102,6 +102,12 @@
- #define PCI_CHIP_HASWELL_S_GT1          0x040A /* Server */
- #define PCI_CHIP_HASWELL_S_GT2          0x041A
- #define PCI_CHIP_HASWELL_S_GT3          0x042A
-+#define PCI_CHIP_HASWELL_B_GT1          0x040B /* Reserved */
-+#define PCI_CHIP_HASWELL_B_GT2          0x041B
-+#define PCI_CHIP_HASWELL_B_GT3          0x042B
-+#define PCI_CHIP_HASWELL_E_GT1          0x040E /* Reserved */
-+#define PCI_CHIP_HASWELL_E_GT2          0x041E
-+#define PCI_CHIP_HASWELL_E_GT3          0x042E
- #define PCI_CHIP_HASWELL_SDV_GT1        0x0C02 /* Desktop */
- #define PCI_CHIP_HASWELL_SDV_GT2        0x0C12
- #define PCI_CHIP_HASWELL_SDV_GT3        0x0C22
-@@ -111,6 +117,12 @@
- #define PCI_CHIP_HASWELL_SDV_S_GT1      0x0C0A /* Server */
- #define PCI_CHIP_HASWELL_SDV_S_GT2      0x0C1A
- #define PCI_CHIP_HASWELL_SDV_S_GT3      0x0C2A
-+#define PCI_CHIP_HASWELL_SDV_B_GT1      0x0C0B /* Reserved */
-+#define PCI_CHIP_HASWELL_SDV_B_GT2      0x0C1B
-+#define PCI_CHIP_HASWELL_SDV_B_GT3      0x0C2B
-+#define PCI_CHIP_HASWELL_SDV_E_GT1      0x0C0E /* Reserved */
-+#define PCI_CHIP_HASWELL_SDV_E_GT2      0x0C1E
-+#define PCI_CHIP_HASWELL_SDV_E_GT3      0x0C2E
- #define PCI_CHIP_HASWELL_ULT_GT1        0x0A02 /* Desktop */
- #define PCI_CHIP_HASWELL_ULT_GT2        0x0A12
- #define PCI_CHIP_HASWELL_ULT_GT3        0x0A22
-@@ -120,6 +132,12 @@
- #define PCI_CHIP_HASWELL_ULT_S_GT1      0x0A0A /* Server */
- #define PCI_CHIP_HASWELL_ULT_S_GT2      0x0A1A
- #define PCI_CHIP_HASWELL_ULT_S_GT3      0x0A2A
-+#define PCI_CHIP_HASWELL_ULT_B_GT1      0x0A0B /* Reserved */
-+#define PCI_CHIP_HASWELL_ULT_B_GT2      0x0A1B
-+#define PCI_CHIP_HASWELL_ULT_B_GT3      0x0A2B
-+#define PCI_CHIP_HASWELL_ULT_E_GT1      0x0A0E /* Reserved */
-+#define PCI_CHIP_HASWELL_ULT_E_GT2      0x0A1E
-+#define PCI_CHIP_HASWELL_ULT_E_GT3      0x0A2E
- #define PCI_CHIP_HASWELL_CRW_GT1        0x0D02 /* Desktop */
- #define PCI_CHIP_HASWELL_CRW_GT2        0x0D12
- #define PCI_CHIP_HASWELL_CRW_GT3        0x0D22
-@@ -129,6 +147,12 @@
- #define PCI_CHIP_HASWELL_CRW_S_GT1      0x0D0A /* Server */
- #define PCI_CHIP_HASWELL_CRW_S_GT2      0x0D1A
- #define PCI_CHIP_HASWELL_CRW_S_GT3      0x0D2A
-+#define PCI_CHIP_HASWELL_CRW_B_GT1      0x0D0B /* Reserved */
-+#define PCI_CHIP_HASWELL_CRW_B_GT2      0x0D1B
-+#define PCI_CHIP_HASWELL_CRW_B_GT3      0x0D2B
-+#define PCI_CHIP_HASWELL_CRW_E_GT1      0x0D0E /* Reserved */
-+#define PCI_CHIP_HASWELL_CRW_E_GT2      0x0D1E
-+#define PCI_CHIP_HASWELL_CRW_E_GT3      0x0D2E
- 
- #define IS_MOBILE(devid)      (devid == PCI_CHIP_I855_GM || \
-                                devid == PCI_CHIP_I915_GM || \
-@@ -209,39 +233,63 @@
- #define IS_HSW_GT1(devid)     (devid == PCI_CHIP_HASWELL_GT1 || \
-                                devid == PCI_CHIP_HASWELL_M_GT1 || \
-                                devid == PCI_CHIP_HASWELL_S_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_B_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_E_GT1 || \
-                                devid == PCI_CHIP_HASWELL_SDV_GT1 || \
-                                devid == PCI_CHIP_HASWELL_SDV_M_GT1 || \
-                                devid == PCI_CHIP_HASWELL_SDV_S_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_B_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_E_GT1 || \
-                                devid == PCI_CHIP_HASWELL_ULT_GT1 || \
-                                devid == PCI_CHIP_HASWELL_ULT_M_GT1 || \
-                                devid == PCI_CHIP_HASWELL_ULT_S_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_B_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_E_GT1 || \
-                                devid == PCI_CHIP_HASWELL_CRW_GT1 || \
-                                devid == PCI_CHIP_HASWELL_CRW_M_GT1 || \
--                               devid == PCI_CHIP_HASWELL_CRW_S_GT1)
-+                               devid == PCI_CHIP_HASWELL_CRW_S_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_B_GT1 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_E_GT1)
- #define IS_HSW_GT2(devid)     (devid == PCI_CHIP_HASWELL_GT2 || \
-                                devid == PCI_CHIP_HASWELL_M_GT2 || \
-                                devid == PCI_CHIP_HASWELL_S_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_B_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_E_GT2 || \
-                                devid == PCI_CHIP_HASWELL_SDV_GT2 || \
-                                devid == PCI_CHIP_HASWELL_SDV_M_GT2 || \
-                                devid == PCI_CHIP_HASWELL_SDV_S_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_B_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_E_GT2 || \
-                                devid == PCI_CHIP_HASWELL_ULT_GT2 || \
-                                devid == PCI_CHIP_HASWELL_ULT_M_GT2 || \
-                                devid == PCI_CHIP_HASWELL_ULT_S_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_B_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_E_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_M_GT2 || \
--                               devid == PCI_CHIP_HASWELL_CRW_S_GT2)
-+                               devid == PCI_CHIP_HASWELL_CRW_S_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_B_GT2 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_E_GT2)
- #define IS_HSW_GT3(devid)     (devid == PCI_CHIP_HASWELL_GT3 || \
-                                devid == PCI_CHIP_HASWELL_M_GT3 || \
-                                devid == PCI_CHIP_HASWELL_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_B_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_E_GT3 || \
-                                devid == PCI_CHIP_HASWELL_SDV_GT3 || \
-                                devid == PCI_CHIP_HASWELL_SDV_M_GT3 || \
-                                devid == PCI_CHIP_HASWELL_SDV_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_B_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_E_GT3 || \
-                                devid == PCI_CHIP_HASWELL_ULT_GT3 || \
-                                devid == PCI_CHIP_HASWELL_ULT_M_GT3 || \
-                                devid == PCI_CHIP_HASWELL_ULT_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_B_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_E_GT3 || \
-                                devid == PCI_CHIP_HASWELL_CRW_GT3 || \
-                                devid == PCI_CHIP_HASWELL_CRW_M_GT3 || \
--                               devid == PCI_CHIP_HASWELL_CRW_S_GT3)
-+                               devid == PCI_CHIP_HASWELL_CRW_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_B_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_E_GT3)
- 
- #define IS_HASWELL(devid)       (IS_HSW_GT1(devid) || \
-                                IS_HSW_GT2(devid) || \
-diff --git a/src/mesa/drivers/dri/intel/intel_context.c 
b/src/mesa/drivers/dri/intel/intel_context.c
-index 88cc247..ab7f80b 100644
---- a/src/mesa/drivers/dri/intel/intel_context.c
-+++ b/src/mesa/drivers/dri/intel/intel_context.c
-@@ -235,6 +235,32 @@ intelGetString(struct gl_context * ctx, GLenum name)
-       case PCI_CHIP_HASWELL_CRW_S_GT3:
-        chipset = "Intel(R) Haswell Server";
-        break;
-+      case PCI_CHIP_HASWELL_B_GT1:
-+      case PCI_CHIP_HASWELL_B_GT2:
-+      case PCI_CHIP_HASWELL_B_GT3:
-+      case PCI_CHIP_HASWELL_SDV_B_GT1:
-+      case PCI_CHIP_HASWELL_SDV_B_GT2:
-+      case PCI_CHIP_HASWELL_SDV_B_GT3:
-+      case PCI_CHIP_HASWELL_ULT_B_GT1:
-+      case PCI_CHIP_HASWELL_ULT_B_GT2:
-+      case PCI_CHIP_HASWELL_ULT_B_GT3:
-+      case PCI_CHIP_HASWELL_CRW_B_GT1:
-+      case PCI_CHIP_HASWELL_CRW_B_GT2:
-+      case PCI_CHIP_HASWELL_CRW_B_GT3:
-+      case PCI_CHIP_HASWELL_E_GT1:
-+      case PCI_CHIP_HASWELL_E_GT2:
-+      case PCI_CHIP_HASWELL_E_GT3:
-+      case PCI_CHIP_HASWELL_SDV_E_GT1:
-+      case PCI_CHIP_HASWELL_SDV_E_GT2:
-+      case PCI_CHIP_HASWELL_SDV_E_GT3:
-+      case PCI_CHIP_HASWELL_ULT_E_GT1:
-+      case PCI_CHIP_HASWELL_ULT_E_GT2:
-+      case PCI_CHIP_HASWELL_ULT_E_GT3:
-+      case PCI_CHIP_HASWELL_CRW_E_GT1:
-+      case PCI_CHIP_HASWELL_CRW_E_GT2:
-+      case PCI_CHIP_HASWELL_CRW_E_GT3:
-+         chipset = "Intel(R) Haswell";
-+         break;
-       default:
-          chipset = "Unknown Intel Chipset";
-          break;
diff --git a/debian/patches/add-vlv-ids.diff b/debian/patches/add-vlv-ids.diff
deleted file mode 100644
index 5aae0ca..0000000
--- a/debian/patches/add-vlv-ids.diff
+++ /dev/null
@@ -1,97 +0,0 @@
-commit e7965598b7cc1123847e5c87ab16745145e849e2
-Author: Kenneth Graunke <kenn...@whitecape.org>
-Date:   Wed Oct 3 14:26:29 2012 -0700
-
-    i965: Enable the Bay Trail platform.
-    
-    This patch adds PCI IDs for Bay Trail (sometimes called Valley View).
-    As far as the 3D driver is concerned, it's very similar to Ivybridge,
-    so the existing code should work just fine.
-    
-    Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
-
-diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h
-index 1e388f8..9a2da61 100644
---- a/include/pci_ids/i965_pci_ids.h
-+++ b/include/pci_ids/i965_pci_ids.h
-@@ -62,3 +62,8 @@ CHIPSET(0x0D26, HASWELL_CRW_M_GT2_PLUS, hsw_gt2)
- CHIPSET(0x0D0A, HASWELL_CRW_S_GT1, hsw_gt1)
- CHIPSET(0x0D1A, HASWELL_CRW_S_GT2, hsw_gt2)
- CHIPSET(0x0D2A, HASWELL_CRW_S_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0F31, BAYTRAIL_M_1, byt)
-+CHIPSET(0x0F32, BAYTRAIL_M_2, byt)
-+CHIPSET(0x0F33, BAYTRAIL_M_3, byt)
-+CHIPSET(0x0157, BAYTRAIL_M_4, byt)
-+CHIPSET(0x0155, BAYTRAIL_D, byt)
-diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h 
b/src/mesa/drivers/dri/intel/intel_chipset.h
-index 885f6c2..04753dd 100644
---- a/src/mesa/drivers/dri/intel/intel_chipset.h
-+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
-@@ -87,6 +87,12 @@
- #define PCI_CHIP_IVYBRIDGE_S_GT1        0x015a  /* Server */
- #define PCI_CHIP_IVYBRIDGE_S_GT2        0x016a
- 
-+#define PCI_CHIP_BAYTRAIL_M_1           0x0F31
-+#define PCI_CHIP_BAYTRAIL_M_2           0x0F32
-+#define PCI_CHIP_BAYTRAIL_M_3           0x0F33
-+#define PCI_CHIP_BAYTRAIL_M_4           0x0157
-+#define PCI_CHIP_BAYTRAIL_D             0x0155
-+
- #define PCI_CHIP_HASWELL_GT1            0x0402 /* Desktop */
- #define PCI_CHIP_HASWELL_GT2            0x0412
- #define PCI_CHIP_HASWELL_GT2_PLUS       0x0422
-@@ -190,7 +196,14 @@
- 
- #define IS_IVYBRIDGE(devid)     (IS_IVB_GT1(devid) || IS_IVB_GT2(devid))
- 
-+#define IS_BAYTRAIL(devid)      (devid == PCI_CHIP_BAYTRAIL_M_1 || \
-+                                 devid == PCI_CHIP_BAYTRAIL_M_2 || \
-+                                 devid == PCI_CHIP_BAYTRAIL_M_3 || \
-+                                 devid == PCI_CHIP_BAYTRAIL_M_4 || \
-+                                 devid == PCI_CHIP_BAYTRAIL_D)
-+
- #define IS_GEN7(devid)                (IS_IVYBRIDGE(devid) || \
-+                               IS_BAYTRAIL(devid) || \
-                                IS_HASWELL(devid))
- 
- #define IS_HSW_GT1(devid)     (devid == PCI_CHIP_HASWELL_GT1 || \
-diff --git a/src/mesa/drivers/dri/intel/intel_context.c 
b/src/mesa/drivers/dri/intel/intel_context.c
-index ba7d4b6..0a1dd75 100644
---- a/src/mesa/drivers/dri/intel/intel_context.c
-+++ b/src/mesa/drivers/dri/intel/intel_context.c
-@@ -186,6 +186,13 @@ intelGetString(struct gl_context * ctx, GLenum name)
-       case PCI_CHIP_IVYBRIDGE_S_GT2:
-        chipset = "Intel(R) Ivybridge Server";
-        break;
-+      case PCI_CHIP_BAYTRAIL_M_1:
-+      case PCI_CHIP_BAYTRAIL_M_2:
-+      case PCI_CHIP_BAYTRAIL_M_3:
-+      case PCI_CHIP_BAYTRAIL_M_4:
-+      case PCI_CHIP_BAYTRAIL_D:
-+         chipset = "Intel(R) Bay Trail";
-+         break;
-       case PCI_CHIP_HASWELL_GT1:
-       case PCI_CHIP_HASWELL_GT2:
-       case PCI_CHIP_HASWELL_GT2_PLUS:
-@@ -682,6 +689,9 @@ intelInitContext(struct intel_context *intel,
- 
-    if (IS_HASWELL(devID)) {
-       intel->is_haswell = true;
-+   } else if (IS_BAYTRAIL(devID)) {
-+      intel->is_baytrail = true;
-+      intel->gt = 1;
-    } else if (IS_G4X(devID)) {
-       intel->is_g4x = true;
-    } else if (IS_945(devID)) {
-diff --git a/src/mesa/drivers/dri/intel/intel_context.h 
b/src/mesa/drivers/dri/intel/intel_context.h
-index 4591ab7..c0f07ff 100644
---- a/src/mesa/drivers/dri/intel/intel_context.h
-+++ b/src/mesa/drivers/dri/intel/intel_context.h
-@@ -236,6 +236,7 @@ struct intel_context
-    int gt;
-    bool needs_ff_sync;
-    bool is_haswell;
-+   bool is_baytrail;
-    bool is_g4x;
-    bool is_945;
-    bool has_separate_stencil;
diff --git a/debian/patches/fix-hsw-gt3-names.diff 
b/debian/patches/fix-hsw-gt3-names.diff
deleted file mode 100644
index 234b776..0000000
--- a/debian/patches/fix-hsw-gt3-names.diff
+++ /dev/null
@@ -1,238 +0,0 @@
-commit f1d2b373177dbbb582cefb0d6c88994073fab652
-Author: Paulo Zanoni <paulo.r.zan...@intel.com>
-Date:   Fri Aug 10 12:06:37 2012 -0300
-
-    i965: make GT3 machines work as GT3 instead of GT2
-    
-    We were not allowed to say the "GT3" name, but we really needed to
-    have the PCI IDs because too many people had such machines, so we had
-    to make the GT3 machines work as GT2.
-    
-    Let's just say that GT2_PLUS was a short for GT2_PLUS_1 :)
-    
-    NOTE: This is a candidate for stable branches.
-    
-    Signed-off-by: Paulo Zanoni <paulo.r.zan...@intel.com>
-    Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
-
-diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h
-index 9a2da61..3e9765c 100644
---- a/include/pci_ids/i965_pci_ids.h
-+++ b/include/pci_ids/i965_pci_ids.h
-@@ -28,40 +28,40 @@ CHIPSET(0x015a, IVYBRIDGE_S_GT1, ivb_gt1)
- CHIPSET(0x016a, IVYBRIDGE_S_GT2, ivb_gt2)
- CHIPSET(0x0402, HASWELL_GT1, hsw_gt1)
- CHIPSET(0x0412, HASWELL_GT2, hsw_gt2)
--CHIPSET(0x0422, HASWELL_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0422, HASWELL_GT3, hsw_gt3)
- CHIPSET(0x0406, HASWELL_M_GT1, hsw_gt1)
- CHIPSET(0x0416, HASWELL_M_GT2, hsw_gt2)
--CHIPSET(0x0426, HASWELL_M_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0426, HASWELL_M_GT3, hsw_gt3)
- CHIPSET(0x040A, HASWELL_S_GT1, hsw_gt1)
- CHIPSET(0x041A, HASWELL_S_GT2, hsw_gt2)
--CHIPSET(0x042A, HASWELL_S_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x042A, HASWELL_S_GT3, hsw_gt3)
- CHIPSET(0x0C02, HASWELL_SDV_GT1, hsw_gt1)
- CHIPSET(0x0C12, HASWELL_SDV_GT2, hsw_gt2)
--CHIPSET(0x0C22, HASWELL_SDV_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0C22, HASWELL_SDV_GT3, hsw_gt3)
- CHIPSET(0x0C06, HASWELL_SDV_M_GT1, hsw_gt1)
- CHIPSET(0x0C16, HASWELL_SDV_M_GT2, hsw_gt2)
--CHIPSET(0x0C26, HASWELL_SDV_M_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0C26, HASWELL_SDV_M_GT3, hsw_gt3)
- CHIPSET(0x0C0A, HASWELL_SDV_S_GT1, hsw_gt1)
- CHIPSET(0x0C1A, HASWELL_SDV_S_GT2, hsw_gt2)
--CHIPSET(0x0C2A, HASWELL_SDV_S_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0C2A, HASWELL_SDV_S_GT3, hsw_gt3)
- CHIPSET(0x0A02, HASWELL_ULT_GT1, hsw_gt1)
- CHIPSET(0x0A12, HASWELL_ULT_GT2, hsw_gt2)
--CHIPSET(0x0A22, HASWELL_ULT_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0A22, HASWELL_ULT_GT3, hsw_gt3)
- CHIPSET(0x0A06, HASWELL_ULT_M_GT1, hsw_gt1)
- CHIPSET(0x0A16, HASWELL_ULT_M_GT2, hsw_gt2)
--CHIPSET(0x0A26, HASWELL_ULT_M_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0A26, HASWELL_ULT_M_GT3, hsw_gt3)
- CHIPSET(0x0A0A, HASWELL_ULT_S_GT1, hsw_gt1)
- CHIPSET(0x0A1A, HASWELL_ULT_S_GT2, hsw_gt2)
--CHIPSET(0x0A2A, HASWELL_ULT_S_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0A2A, HASWELL_ULT_S_GT3, hsw_gt3)
- CHIPSET(0x0D02, HASWELL_CRW_GT1, hsw_gt1)
- CHIPSET(0x0D12, HASWELL_CRW_GT2, hsw_gt2)
--CHIPSET(0x0D22, HASWELL_CRW_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0D22, HASWELL_CRW_GT3, hsw_gt3)
- CHIPSET(0x0D06, HASWELL_CRW_M_GT1, hsw_gt1)
- CHIPSET(0x0D16, HASWELL_CRW_M_GT2, hsw_gt2)
--CHIPSET(0x0D26, HASWELL_CRW_M_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0D26, HASWELL_CRW_M_GT3, hsw_gt3)
- CHIPSET(0x0D0A, HASWELL_CRW_S_GT1, hsw_gt1)
- CHIPSET(0x0D1A, HASWELL_CRW_S_GT2, hsw_gt2)
--CHIPSET(0x0D2A, HASWELL_CRW_S_GT2_PLUS, hsw_gt2)
-+CHIPSET(0x0D2A, HASWELL_CRW_S_GT3, hsw_gt3)
- CHIPSET(0x0F31, BAYTRAIL_M_1, byt)
- CHIPSET(0x0F32, BAYTRAIL_M_2, byt)
- CHIPSET(0x0F33, BAYTRAIL_M_3, byt)
-diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h 
b/src/mesa/drivers/dri/intel/intel_chipset.h
-index 04753dd..df025ac 100644
---- a/src/mesa/drivers/dri/intel/intel_chipset.h
-+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
-@@ -95,40 +95,40 @@
- 
- #define PCI_CHIP_HASWELL_GT1            0x0402 /* Desktop */
- #define PCI_CHIP_HASWELL_GT2            0x0412
--#define PCI_CHIP_HASWELL_GT2_PLUS       0x0422
-+#define PCI_CHIP_HASWELL_GT3            0x0422
- #define PCI_CHIP_HASWELL_M_GT1          0x0406 /* Mobile */
- #define PCI_CHIP_HASWELL_M_GT2          0x0416
--#define PCI_CHIP_HASWELL_M_GT2_PLUS     0x0426
-+#define PCI_CHIP_HASWELL_M_GT3          0x0426
- #define PCI_CHIP_HASWELL_S_GT1          0x040A /* Server */
- #define PCI_CHIP_HASWELL_S_GT2          0x041A
--#define PCI_CHIP_HASWELL_S_GT2_PLUS     0x042A
-+#define PCI_CHIP_HASWELL_S_GT3          0x042A
- #define PCI_CHIP_HASWELL_SDV_GT1        0x0C02 /* Desktop */
- #define PCI_CHIP_HASWELL_SDV_GT2        0x0C12
--#define PCI_CHIP_HASWELL_SDV_GT2_PLUS   0x0C22
-+#define PCI_CHIP_HASWELL_SDV_GT3        0x0C22
- #define PCI_CHIP_HASWELL_SDV_M_GT1      0x0C06 /* Mobile */
- #define PCI_CHIP_HASWELL_SDV_M_GT2      0x0C16
--#define PCI_CHIP_HASWELL_SDV_M_GT2_PLUS 0x0C26
-+#define PCI_CHIP_HASWELL_SDV_M_GT3      0x0C26
- #define PCI_CHIP_HASWELL_SDV_S_GT1      0x0C0A /* Server */
- #define PCI_CHIP_HASWELL_SDV_S_GT2      0x0C1A
--#define PCI_CHIP_HASWELL_SDV_S_GT2_PLUS 0x0C2A
-+#define PCI_CHIP_HASWELL_SDV_S_GT3      0x0C2A
- #define PCI_CHIP_HASWELL_ULT_GT1        0x0A02 /* Desktop */
- #define PCI_CHIP_HASWELL_ULT_GT2        0x0A12
--#define PCI_CHIP_HASWELL_ULT_GT2_PLUS   0x0A22
-+#define PCI_CHIP_HASWELL_ULT_GT3        0x0A22
- #define PCI_CHIP_HASWELL_ULT_M_GT1      0x0A06 /* Mobile */
- #define PCI_CHIP_HASWELL_ULT_M_GT2      0x0A16
--#define PCI_CHIP_HASWELL_ULT_M_GT2_PLUS 0x0A26
-+#define PCI_CHIP_HASWELL_ULT_M_GT3      0x0A26
- #define PCI_CHIP_HASWELL_ULT_S_GT1      0x0A0A /* Server */
- #define PCI_CHIP_HASWELL_ULT_S_GT2      0x0A1A
--#define PCI_CHIP_HASWELL_ULT_S_GT2_PLUS 0x0A2A
-+#define PCI_CHIP_HASWELL_ULT_S_GT3      0x0A2A
- #define PCI_CHIP_HASWELL_CRW_GT1        0x0D02 /* Desktop */
- #define PCI_CHIP_HASWELL_CRW_GT2        0x0D12
--#define PCI_CHIP_HASWELL_CRW_GT2_PLUS   0x0D22
-+#define PCI_CHIP_HASWELL_CRW_GT3        0x0D22
- #define PCI_CHIP_HASWELL_CRW_M_GT1      0x0D06 /* Mobile */
- #define PCI_CHIP_HASWELL_CRW_M_GT2      0x0D16
--#define PCI_CHIP_HASWELL_CRW_M_GT2_PLUS 0x0D26
-+#define PCI_CHIP_HASWELL_CRW_M_GT3      0x0D26
- #define PCI_CHIP_HASWELL_CRW_S_GT1      0x0D0A /* Server */
- #define PCI_CHIP_HASWELL_CRW_S_GT2      0x0D1A
--#define PCI_CHIP_HASWELL_CRW_S_GT2_PLUS 0x0D2A
-+#define PCI_CHIP_HASWELL_CRW_S_GT3      0x0D2A
- 
- #define IS_MOBILE(devid)      (devid == PCI_CHIP_I855_GM || \
-                                devid == PCI_CHIP_I915_GM || \
-@@ -229,21 +229,23 @@
-                                devid == PCI_CHIP_HASWELL_ULT_S_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_M_GT2 || \
--                               devid == PCI_CHIP_HASWELL_CRW_S_GT2 || \
--                               devid == PCI_CHIP_HASWELL_M_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_S_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_SDV_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_SDV_M_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_SDV_S_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_ULT_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_ULT_M_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_ULT_S_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_CRW_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_CRW_M_GT2_PLUS || \
--                               devid == PCI_CHIP_HASWELL_CRW_S_GT2_PLUS)
-+                               devid == PCI_CHIP_HASWELL_CRW_S_GT2)
-+
-+#define IS_HSW_GT3(devid)     (devid == PCI_CHIP_HASWELL_M_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_M_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_SDV_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_M_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_ULT_S_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_M_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_CRW_S_GT3)
- 
- #define IS_HASWELL(devid)       (IS_HSW_GT1(devid) || \
--                               IS_HSW_GT2(devid))
-+                               IS_HSW_GT2(devid) || \
-+                               IS_HSW_GT3(devid))
- 
- #define IS_965(devid)         (IS_GEN4(devid) || \
-                                IS_G4X(devid) || \
-diff --git a/src/mesa/drivers/dri/intel/intel_context.c 
b/src/mesa/drivers/dri/intel/intel_context.c
-index 0a1dd75..88cc247 100644
---- a/src/mesa/drivers/dri/intel/intel_context.c
-+++ b/src/mesa/drivers/dri/intel/intel_context.c
-@@ -195,44 +195,44 @@ intelGetString(struct gl_context * ctx, GLenum name)
-          break;
-       case PCI_CHIP_HASWELL_GT1:
-       case PCI_CHIP_HASWELL_GT2:
--      case PCI_CHIP_HASWELL_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_GT3:
-       case PCI_CHIP_HASWELL_SDV_GT1:
-       case PCI_CHIP_HASWELL_SDV_GT2:
--      case PCI_CHIP_HASWELL_SDV_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_SDV_GT3:
-       case PCI_CHIP_HASWELL_ULT_GT1:
-       case PCI_CHIP_HASWELL_ULT_GT2:
--      case PCI_CHIP_HASWELL_ULT_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_ULT_GT3:
-       case PCI_CHIP_HASWELL_CRW_GT1:
-       case PCI_CHIP_HASWELL_CRW_GT2:
--      case PCI_CHIP_HASWELL_CRW_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_CRW_GT3:
-        chipset = "Intel(R) Haswell Desktop";
-        break;
-       case PCI_CHIP_HASWELL_M_GT1:
-       case PCI_CHIP_HASWELL_M_GT2:
--      case PCI_CHIP_HASWELL_M_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_M_GT3:
-       case PCI_CHIP_HASWELL_SDV_M_GT1:
-       case PCI_CHIP_HASWELL_SDV_M_GT2:
--      case PCI_CHIP_HASWELL_SDV_M_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_SDV_M_GT3:
-       case PCI_CHIP_HASWELL_ULT_M_GT1:
-       case PCI_CHIP_HASWELL_ULT_M_GT2:
--      case PCI_CHIP_HASWELL_ULT_M_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_ULT_M_GT3:
-       case PCI_CHIP_HASWELL_CRW_M_GT1:
-       case PCI_CHIP_HASWELL_CRW_M_GT2:
--      case PCI_CHIP_HASWELL_CRW_M_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_CRW_M_GT3:
-        chipset = "Intel(R) Haswell Mobile";
-        break;
-       case PCI_CHIP_HASWELL_S_GT1:
-       case PCI_CHIP_HASWELL_S_GT2:
--      case PCI_CHIP_HASWELL_S_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_S_GT3:
-       case PCI_CHIP_HASWELL_SDV_S_GT1:
-       case PCI_CHIP_HASWELL_SDV_S_GT2:
--      case PCI_CHIP_HASWELL_SDV_S_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_SDV_S_GT3:
-       case PCI_CHIP_HASWELL_ULT_S_GT1:
-       case PCI_CHIP_HASWELL_ULT_S_GT2:
--      case PCI_CHIP_HASWELL_ULT_S_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_ULT_S_GT3:
-       case PCI_CHIP_HASWELL_CRW_S_GT1:
-       case PCI_CHIP_HASWELL_CRW_S_GT2:
--      case PCI_CHIP_HASWELL_CRW_S_GT2_PLUS:
-+      case PCI_CHIP_HASWELL_CRW_S_GT3:
-        chipset = "Intel(R) Haswell Server";
-        break;
-       default:
-@@ -684,6 +684,8 @@ intelInitContext(struct intel_context *intel,
-       intel->gt = 1;
-    else if (IS_SNB_GT2(devID) || IS_IVB_GT2(devID) || IS_HSW_GT2(devID))
-       intel->gt = 2;
-+   else if (IS_HSW_GT3(devID))
-+      intel->gt = 3;
-    else
-       intel->gt = 0;
- 
diff --git a/debian/patches/fix-missing-gt3-id.diff 
b/debian/patches/fix-missing-gt3-id.diff
deleted file mode 100644
index ed5560a..0000000
--- a/debian/patches/fix-missing-gt3-id.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-commit 888fc7a89197972aac614fc19d1c82ed1adbb3f2
-Author: Rodrigo Vivi <rodrigo.v...@gmail.com>
-Date:   Mon May 13 17:53:38 2013 -0300
-
-    i965: Add missing Haswell GT3 Desktop to IS_HSW_GT3 check.
-    
-    NOTE: This is a candidate for stable branches.
-    
-    Signed-off-by: Rodrigo Vivi <rodrigo.v...@gmail.com>
-    Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
-
-diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h 
b/src/mesa/drivers/dri/intel/intel_chipset.h
-index df025ac..ee735bb 100644
---- a/src/mesa/drivers/dri/intel/intel_chipset.h
-+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
-@@ -230,8 +230,8 @@
-                                devid == PCI_CHIP_HASWELL_CRW_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_M_GT2 || \
-                                devid == PCI_CHIP_HASWELL_CRW_S_GT2)
--
--#define IS_HSW_GT3(devid)     (devid == PCI_CHIP_HASWELL_M_GT3 || \
-+#define IS_HSW_GT3(devid)     (devid == PCI_CHIP_HASWELL_GT3 || \
-+                               devid == PCI_CHIP_HASWELL_M_GT3 || \
-                                devid == PCI_CHIP_HASWELL_S_GT3 || \
-                                devid == PCI_CHIP_HASWELL_SDV_GT3 || \
-                                devid == PCI_CHIP_HASWELL_SDV_M_GT3 || \
diff --git a/debian/patches/revert-a64c1eb9b110.diff 
b/debian/patches/revert-a64c1eb9b110.diff
index d9c0149..9b3d8da 100644
--- a/debian/patches/revert-a64c1eb9b110.diff
+++ b/debian/patches/revert-a64c1eb9b110.diff
@@ -1,6 +1,6 @@
 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp
 +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
-@@ -219,45 +219,6 @@ fs_visitor::CMP(fs_reg dst, fs_reg src0,
+@@ -219,46 +219,6 @@ fs_visitor::CMP(fs_reg dst, fs_reg src0,
     return inst;
  }
  
@@ -14,6 +14,7 @@
 -   if (intel->gen >= 7) {
 -      inst = new(mem_ctx) fs_inst(FS_OPCODE_VARYING_PULL_CONSTANT_LOAD_GEN7,
 -                                  dst, surf_index, offset);
+-      inst->regs_written = 1;
 -      instructions.push_tail(inst);
 -   } else {
 -      int base_mrf = 13;
diff --git a/debian/patches/series b/debian/patches/series
index ce8e3a1..47f332f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,11 +15,3 @@
 revert-7f2a65d896bf.diff
 revert-d61b1fdad6a.diff
 revert-a64c1eb9b110.diff
-
-# Add missing haswell pci ids
-add-vlv-ids.diff
-fix-hsw-gt3-names.diff
-fix-missing-gt3-id.diff
-add-more-reserved-hsw-ids.diff
-CVE-2013-1872.patch
-CVE-2013-1993.patch

commit ebfd4cd98c5113f43cdf11df69f3dcc126453884
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Tue Jul 2 10:19:49 2013 +0300

    update the changelog

diff --git a/debian/changelog b/debian/changelog
index 56221a9..a2af261 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+mesa (9.1.4-0ubuntu1) UNRELEASED; urgency=low
+
+  * Merge from unreleased debian git, remaining changes:
+    - don't build libgl1-mesa-swx11*
+    - use alternatives for libEGL, libGL*, libOpenVG
+    - build a common libgallium library to save disk space
+    - clean up extra po files
+
+ -- Timo Aaltonen <tjaal...@ubuntu.com>  Tue, 02 Jul 2013 10:06:51 +0300
+
 mesa (9.1.4-1) UNRELEASED; urgency=low
 
   [ Julien Cristau ]

commit f37ea5854a57a439c42964969a3833eee6e4bd90
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Tue Jul 2 09:36:01 2013 +0300

    new upstream release

diff --git a/debian/changelog b/debian/changelog
index 00fb8ca..c02d1cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (9.1.3-7) UNRELEASED; urgency=low
+mesa (9.1.4-1) UNRELEASED; urgency=low
 
   [ Julien Cristau ]
   * Don't call wayland_buffer_is_drm from libgbm, it's in libEGL
@@ -11,6 +11,9 @@ mesa (9.1.3-7) UNRELEASED; urgency=low
   * Cherry-pick commit 0829b89 (mesa: Fix ieee fp on Alpha) from upstream
     (Fixes FTBFS on alpha)
 
+  [ Timo Aaltonen ]
+  * New upstream release.
+
  -- Julien Cristau <jcris...@debian.org>  Tue, 25 Jun 2013 21:26:56 +0200


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1utxf2-0001ms...@vasks.debian.org

Reply via email to