< prev index next >

src/java.desktop/windows/native/libawt/java2d/d3d/D3DBadHardware.h

Print this page


   1 /*
   2  * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  34   DWORD    DeviceId;
  35   LONGLONG DriverVersion; // minimum driver version to pass, or NO_VERSION
  36   USHORT   OsInfo;        // OSes where the DriverVersion is relevant or, OS_ALL
  37 } ADAPTER_INFO;
  38 
  39 // this DeviceId means that all vendor boards are to be excluded
  40 #define ALL_DEVICEIDS (0xffffffff)
  41 
  42 #define D_VERSION(H1, H2, L1, L2) \
  43   (((LONGLONG)((H1 << 16) | H2) << 32) | ((L1 << 16) | (L2)))
  44 
  45 // this driver version is used to pass the driver version check
  46 // as it is always greater than any driver version
  47 #define MAX_VERSION D_VERSION(0x7fff, 0x7fff, 0x7fff, 0x7fff)
  48 // this DriverVersion means that the version of the driver doesn't matter,
  49 // all versions must fail ("there's no version of the driver that passes")
  50 #define NO_VERSION D_VERSION(0xffff, 0xffff, 0xffff, 0xffff)
  51 
  52 static const ADAPTER_INFO badHardware[] = {
  53 
  54     // Intel HD
  55     // Clarkdale (Desktop) GMA HD Lines
  56     { 0x8086, 0x0042, NO_VERSION, OS_ALL },
  57     // Arrandale (Mobile) GMA HD Lines
  58     { 0x8086, 0x0046, NO_VERSION, OS_ALL },
  59 
  60     // Sandy Bridge HD Graphics 3000/2000
  61     { 0x8086, 0x0102, NO_VERSION, OS_ALL },
  62     { 0x8086, 0x0106, NO_VERSION, OS_ALL },
  63     { 0x8086, 0x0112, NO_VERSION, OS_ALL },
  64     { 0x8086, 0x0116, NO_VERSION, OS_ALL },
  65     { 0x8086, 0x0122, NO_VERSION, OS_ALL },
  66     { 0x8086, 0x0126, NO_VERSION, OS_ALL },
  67     { 0x8086, 0x010A, NO_VERSION, OS_ALL },
  68 
  69     // Ivy Bridge
  70     { 0x8086, 0x0162, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  71     { 0x8086, 0x0162, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  72     { 0x8086, 0x0166, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  73     { 0x8086, 0x0166, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  74     { 0x8086, 0x016A, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  75     { 0x8086, 0x016A, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  76     { 0x8086, 0x0152, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  77     { 0x8086, 0x0152, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  78     { 0x8086, 0x0156, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  79     { 0x8086, 0x0156, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  80     { 0x8086, 0x015A, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  81     { 0x8086, 0x015A, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  82 
  83     // Haswell
  84     { 0x8086, 0x0402, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  85     { 0x8086, 0x0402, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  86     { 0x8086, 0x0406, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  87     { 0x8086, 0x0406, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  88     { 0x8086, 0x0412, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  89     { 0x8086, 0x0412, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  90     { 0x8086, 0x0416, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  91     { 0x8086, 0x0416, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  92     { 0x8086, 0x041E, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  93     { 0x8086, 0x041E, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  94     { 0x8086, 0x040A, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  95     { 0x8086, 0x040A, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  96     { 0x8086, 0x041A, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  97     { 0x8086, 0x041A, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
  98     { 0x8086, 0x0A06, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
  99     { 0x8086, 0x0A06, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 100     { 0x8086, 0x0A16, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 101     { 0x8086, 0x0A16, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 102     { 0x8086, 0x0A26, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 103     { 0x8086, 0x0A26, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 104     { 0x8086, 0x0A2E, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 105     { 0x8086, 0x0A2E, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 106     { 0x8086, 0x0A1E, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 107     { 0x8086, 0x0A1E, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 108     { 0x8086, 0x0A0E, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 109     { 0x8086, 0x0A0E, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 110     { 0x8086, 0x0D26, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 111     { 0x8086, 0x0D26, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 112     { 0x8086, 0x0D22, D_VERSION(6,14,10,5437), OS_WINXP | OS_WINXP_64 },
 113     { 0x8086, 0x0D22, D_VERSION(9,18,10,3257), OS_VISTA | OS_WINDOWS7 },
 114 
 115     // Reason: workaround for 6620073, 6612195
 116     // Intel 740
 117     { 0x8086, 0x7800, NO_VERSION, OS_ALL },
 118     { 0x8086, 0x1240, NO_VERSION, OS_ALL },
 119     { 0x8086, 0x7121, NO_VERSION, OS_ALL },
 120     { 0x8086, 0x7123, NO_VERSION, OS_ALL },
 121     { 0x8086, 0x7125, NO_VERSION, OS_ALL },
 122     { 0x8086, 0x1132, NO_VERSION, OS_ALL },
 123     // IEG
 124     { 0x8086, 0x2562, NO_VERSION, OS_ALL },
 125     { 0x8086, 0x3577, NO_VERSION, OS_ALL },
 126     { 0x8086, 0x2572, NO_VERSION, OS_ALL },
 127     { 0x8086, 0x3582, NO_VERSION, OS_ALL },
 128     { 0x8086, 0x358E, NO_VERSION, OS_ALL },
 129     // GMA
 130     { 0x8086, 0x2582, NO_VERSION, OS_ALL },
 131     { 0x8086, 0x2782, NO_VERSION, OS_ALL },
 132     { 0x8086, 0x2592, NO_VERSION, OS_ALL },
 133     { 0x8086, 0x2792, NO_VERSION, OS_ALL },
 134     { 0x8086, 0x2772, NO_VERSION, OS_ALL },
 135     { 0x8086, 0x2776, NO_VERSION, OS_ALL },
 136     { 0x8086, 0x27A2, NO_VERSION, OS_ALL },
 137     { 0x8086, 0x27A6, NO_VERSION, OS_ALL },
 138     { 0x8086, 0x27AE, NO_VERSION, OS_ALL },
 139     { 0x8086, 0x29D2, NO_VERSION, OS_ALL },
 140     { 0x8086, 0x29D3, NO_VERSION, OS_ALL },
 141     { 0x8086, 0x29B2, NO_VERSION, OS_ALL },
 142     { 0x8086, 0x29B3, NO_VERSION, OS_ALL },
 143     { 0x8086, 0x29C2, NO_VERSION, OS_ALL },
 144     { 0x8086, 0x29C3, NO_VERSION, OS_ALL },
 145     { 0x8086, 0xA001, NO_VERSION, OS_ALL },
 146     { 0x8086, 0xA002, NO_VERSION, OS_ALL },
 147     { 0x8086, 0xA011, NO_VERSION, OS_ALL },
 148     { 0x8086, 0xA012, NO_VERSION, OS_ALL },
 149     // GMA
 150     { 0x8086, 0x2972, NO_VERSION, OS_ALL },
 151     { 0x8086, 0x2973, NO_VERSION, OS_ALL },
 152     { 0x8086, 0x2992, NO_VERSION, OS_ALL },
 153     { 0x8086, 0x2993, NO_VERSION, OS_ALL },
 154     { 0x8086, 0x29A2, NO_VERSION, OS_ALL },
 155     { 0x8086, 0x29A3, NO_VERSION, OS_ALL },
 156     { 0x8086, 0x2982, NO_VERSION, OS_ALL },
 157     { 0x8086, 0x2983, NO_VERSION, OS_ALL },
 158     { 0x8086, 0x2A02, NO_VERSION, OS_ALL },
 159     { 0x8086, 0x2A03, NO_VERSION, OS_ALL },
 160     { 0x8086, 0x2A12, NO_VERSION, OS_ALL },
 161     { 0x8086, 0x2A13, NO_VERSION, OS_ALL },
 162 
 163     // Eaglelake (Desktop) GMA 4500 Lines
 164     { 0x8086, 0x2E42, NO_VERSION, OS_ALL },
 165     { 0x8086, 0x2E43, NO_VERSION, OS_ALL },
 166     { 0x8086, 0x2E92, NO_VERSION, OS_ALL },
 167     { 0x8086, 0x2E93, NO_VERSION, OS_ALL },
 168     { 0x8086, 0x2E12, NO_VERSION, OS_ALL },
 169     { 0x8086, 0x2E13, NO_VERSION, OS_ALL },
 170     // Eaglelake (Desktop) GMA X4500 Lines
 171     { 0x8086, 0x2E32, NO_VERSION, OS_ALL },
 172     { 0x8086, 0x2E33, NO_VERSION, OS_ALL },
 173     { 0x8086, 0x2E22, NO_VERSION, OS_ALL },
 174     // Eaglelake (Desktop) GMA X4500HD Lines
 175     { 0x8086, 0x2E23, NO_VERSION, OS_ALL },
 176     // Cantiga (Mobile) GMA 4500MHD Lines
 177     { 0x8086, 0x2A42, NO_VERSION, OS_ALL },
 178     { 0x8086, 0x2A43, NO_VERSION, OS_ALL },
 179 
 180     // ATI Mobility Radeon X1600, X1400, X1450, X1300, X1350
 181     // Reason: workaround for 6613066, 6687166
 182     // X1300 (four sub ids)
 183     { 0x1002, 0x714A, D_VERSION(6,14,10,6706), OS_WINXP },
 184     { 0x1002, 0x714A, D_VERSION(7,14,10,0567), OS_VISTA },
 185     { 0x1002, 0x7149, D_VERSION(6,14,10,6706), OS_WINXP },
 186     { 0x1002, 0x7149, D_VERSION(7,14,10,0567), OS_VISTA },
 187     { 0x1002, 0x714B, D_VERSION(6,14,10,6706), OS_WINXP },
 188     { 0x1002, 0x714B, D_VERSION(7,14,10,0567), OS_VISTA },
 189     { 0x1002, 0x714C, D_VERSION(6,14,10,6706), OS_WINXP },
 190     { 0x1002, 0x714C, D_VERSION(7,14,10,0567), OS_VISTA },
 191     // X1350 (three sub ids)
 192     { 0x1002, 0x718B, D_VERSION(6,14,10,6706), OS_WINXP },
 193     { 0x1002, 0x718B, D_VERSION(7,14,10,0567), OS_VISTA },
 194     { 0x1002, 0x718C, D_VERSION(6,14,10,6706), OS_WINXP },
 195     { 0x1002, 0x718C, D_VERSION(7,14,10,0567), OS_VISTA },
 196     { 0x1002, 0x7196, D_VERSION(6,14,10,6706), OS_WINXP },
 197     { 0x1002, 0x7196, D_VERSION(7,14,10,0567), OS_VISTA },
 198     // X1400


   1 /*
   2  * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  34   DWORD    DeviceId;
  35   LONGLONG DriverVersion; // minimum driver version to pass, or NO_VERSION
  36   USHORT   OsInfo;        // OSes where the DriverVersion is relevant or, OS_ALL
  37 } ADAPTER_INFO;
  38 
  39 // this DeviceId means that all vendor boards are to be excluded
  40 #define ALL_DEVICEIDS (0xffffffff)
  41 
  42 #define D_VERSION(H1, H2, L1, L2) \
  43   (((LONGLONG)((H1 << 16) | H2) << 32) | ((L1 << 16) | (L2)))
  44 
  45 // this driver version is used to pass the driver version check
  46 // as it is always greater than any driver version
  47 #define MAX_VERSION D_VERSION(0x7fff, 0x7fff, 0x7fff, 0x7fff)
  48 // this DriverVersion means that the version of the driver doesn't matter,
  49 // all versions must fail ("there's no version of the driver that passes")
  50 #define NO_VERSION D_VERSION(0xffff, 0xffff, 0xffff, 0xffff)
  51 
  52 static const ADAPTER_INFO badHardware[] = {
  53 
  54     // All Intel Chips.
  55     { 0x8086, ALL_DEVICEIDS, NO_VERSION, OS_ALL },



























































































































  56 
  57     // ATI Mobility Radeon X1600, X1400, X1450, X1300, X1350
  58     // Reason: workaround for 6613066, 6687166
  59     // X1300 (four sub ids)
  60     { 0x1002, 0x714A, D_VERSION(6,14,10,6706), OS_WINXP },
  61     { 0x1002, 0x714A, D_VERSION(7,14,10,0567), OS_VISTA },
  62     { 0x1002, 0x7149, D_VERSION(6,14,10,6706), OS_WINXP },
  63     { 0x1002, 0x7149, D_VERSION(7,14,10,0567), OS_VISTA },
  64     { 0x1002, 0x714B, D_VERSION(6,14,10,6706), OS_WINXP },
  65     { 0x1002, 0x714B, D_VERSION(7,14,10,0567), OS_VISTA },
  66     { 0x1002, 0x714C, D_VERSION(6,14,10,6706), OS_WINXP },
  67     { 0x1002, 0x714C, D_VERSION(7,14,10,0567), OS_VISTA },
  68     // X1350 (three sub ids)
  69     { 0x1002, 0x718B, D_VERSION(6,14,10,6706), OS_WINXP },
  70     { 0x1002, 0x718B, D_VERSION(7,14,10,0567), OS_VISTA },
  71     { 0x1002, 0x718C, D_VERSION(6,14,10,6706), OS_WINXP },
  72     { 0x1002, 0x718C, D_VERSION(7,14,10,0567), OS_VISTA },
  73     { 0x1002, 0x7196, D_VERSION(6,14,10,6706), OS_WINXP },
  74     { 0x1002, 0x7196, D_VERSION(7,14,10,0567), OS_VISTA },
  75     // X1400


< prev index next >