D3DBadHardware.h revision 430
4033N/A/*
0N/A * Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation. Sun designates this
0N/A * particular file as subject to the "Classpath" exception as provided
0N/A * by Sun in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
2362N/A * 2 along with this work; if not, write to the Free Software Foundation,
2362N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2362N/A *
0N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
4033N/A * CA 95054 USA or visit www.sun.com if you need additional information or
0N/A * have any questions.
0N/A */
4033N/A
4033N/A#ifndef D3DBADHARDWARE_H
0N/A#define D3DBADHARDWARE_H
1178N/A
1178N/A#include "D3DPipeline.h"
1178N/A#include "D3DPipelineManager.h"
4033N/A
1178N/Atypedef struct ADAPTER_INFO {
1178N/A DWORD VendorId;
4033N/A DWORD DeviceId;
1178N/A LONGLONG DriverVersion; // minimum driver version to pass, or NO_VERSION
1178N/A USHORT OsInfo; // OSes where the DriverVersion is relevant or, OS_ALL
4033N/A} ADAPTER_INFO;
1178N/A
1178N/A// this DeviceId means that all vendor boards are to be excluded
4033N/A#define ALL_DEVICEIDS (0xffffffff)
1178N/A
1178N/A#define D_VERSION(H1, H2, L1, L2) \
4033N/A (((LONGLONG)((H1 << 16) | H2) << 32) | ((L1 << 16) | (L2)))
1178N/A
1178N/A// this driver version is used to pass the driver version check
4033N/A// as it is always greater than any driver version
1178N/A#define MAX_VERSION D_VERSION(0x7fff, 0x7fff, 0x7fff, 0x7fff)
1178N/A// this DriverVersion means that the version of the driver doesn't matter,
4033N/A// all versions must fail ("there's no version of the driver that passes")
1178N/A#define NO_VERSION D_VERSION(0xffff, 0xffff, 0xffff, 0xffff)
1178N/A
4033N/Astatic const ADAPTER_INFO badHardware[] = {
1178N/A
1178N/A // any Intel chip
4033N/A // Reason: workaround for 6620073, 6612195, 6620073
1178N/A { 0x8086, ALL_DEVICEIDS, NO_VERSION, OS_ALL },
1178N/A
1178N/A // ATI Mobility Radeon X1600, X1400, X1450, X1300, X1350
4033N/A // Reason: workaround for 6613066, 6687166
0N/A // X1300 (four sub ids)
0N/A { 0x1002, 0x714A, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x714A, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A { 0x1002, 0x7149, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x7149, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A { 0x1002, 0x714B, D_VERSION(6,14,10,6706), OS_WINXP },
4033N/A { 0x1002, 0x714B, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A { 0x1002, 0x714C, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x714C, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A // X1350 (three sub ids)
0N/A { 0x1002, 0x718B, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x718B, D_VERSION(7,14,10,0567), OS_VISTA },
4033N/A { 0x1002, 0x718C, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x718C, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A { 0x1002, 0x7196, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x7196, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A // X1400
4033N/A { 0x1002, 0x7145, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x7145, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A // X1450 (two sub ids)
4033N/A { 0x1002, 0x7186, D_VERSION(6,14,10,6706), OS_WINXP },
0N/A { 0x1002, 0x7186, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A { 0x1002, 0x718D, D_VERSION(6,14,10,6706), OS_WINXP },
4033N/A { 0x1002, 0x718D, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A // X1600
0N/A { 0x1002, 0x71C5, D_VERSION(6,14,10,6706), OS_WINXP },
4033N/A { 0x1002, 0x71C5, D_VERSION(7,14,10,0567), OS_VISTA },
0N/A
0N/A // Nvidia Quadro NVS 110M
0N/A // Reason: workaround for 6629891
4033N/A { 0x10DE, 0x01D7, D_VERSION(6,14,11,5665), OS_WINXP },
0N/A
0N/A // Nvidia Quadro PCI-E series
4033N/A // Reason: workaround for 6653860
0N/A { 0x10DE, 0x00FD, D_VERSION(6,14,10,6573), OS_WINXP },
0N/A
4033N/A // Nvidia GeForce 6200 TurboCache(TM)
0N/A // Reason: workaround for 6588384
0N/A { 0x10DE, 0x0161, NO_VERSION, OS_VISTA },
0N/A
0N/A // any Matrox board
4033N/A // Reason: there are no known Matrox boards with proper Direct3D support
0N/A { 0x102B, ALL_DEVICEIDS, NO_VERSION, OS_ALL },
0N/A
4033N/A // any SiS board
0N/A // Reason: there aren't many PS2.0-capable SiS boards and they weren't
0N/A // tested
0N/A { 0x1039, ALL_DEVICEIDS, NO_VERSION, OS_ALL },
0N/A
4033N/A // any S3 board
0N/A // Reason: no available S3 Chrome (the only S3 boards with PS2.0 support)
0N/A // for testing
4033N/A { 0x5333, ALL_DEVICEIDS, NO_VERSION, OS_ALL },
0N/A
0N/A // any S3 board (in VIA motherboards)
4033N/A // Reason: These are S3 chips in VIA motherboards
0N/A { 0x1106, ALL_DEVICEIDS, NO_VERSION, OS_ALL },
0N/A
4033N/A // last record must be empty
0N/A { 0x0000, 0x0000, NO_VERSION, OS_ALL }
4033N/A};
0N/A
0N/A#endif // D3DBADHARDWARE_H
4033N/A