[PATCH 4/5] wined3d: add Intel driver/gpu info
Roderick Colenbrander
thunderbird2k at gmail.com
Mon Aug 16 20:52:43 CDT 2010
---
dlls/wined3d/directx.c | 35 ++++++++++++++++++++++++++++++++---
dlls/wined3d/wined3d_private.h | 4 ++++
2 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 77a6b0a..7f36461 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1006,6 +1006,26 @@ static const struct driver_version_information driver_version_table[] =
{DRIVER_ATI_R300, 6, 1, "atiumdag.dll", 8, 14, 10, 741 },
{DRIVER_ATI_R600, 6, 1, "atiumdag.dll", 8, 14, 10, 741 },
+ /* Intel
+ * The drivers are unified but not all versions support all GPUs. At some point the 2k/xp
+ * drivers used ialmrnt5.dll for GMA800/GMA900 but at some point the file was renamed to
+ * igxprd32.dll but the GMA800 driver was never updated.
+ * On 32-bit Vista/Win7 the driver name is either igdumd32.dll or igdumdx32.dll.
+ * The later version is small and wraps igdumd32.dll, it is not clear when each of them
+ * is used it appears not to be gpu-specific. */
+ {DRIVER_INTEL_GMA800, 5, 0, "ialmrnt5.dll", 5, 14, 10, 3889},
+ {DRIVER_INTEL_GMA900, 5, 0, "igxprd32.dll", 5, 14, 10, 4764},
+ {DRIVER_INTEL_GMA950, 5, 0, "igxprd32.dll", 5, 14, 10, 4926},
+ {DRIVER_INTEL_GMA3000, 5, 0, "igxprd32.dll", 5, 14, 10, 5218},
+ {DRIVER_INTEL_GMA800, 5, 1, "ialmrnt5.dll", 6, 14, 10, 3889},
+ {DRIVER_INTEL_GMA900, 5, 1, "igxprd32.dll", 6, 14, 10, 4764},
+ {DRIVER_INTEL_GMA950, 5, 1, "igxprd32.dll", 6, 14, 10, 4926},
+ {DRIVER_INTEL_GMA3000, 5, 1, "igxprd32.dll", 6, 14, 10, 5218},
+ {DRIVER_INTEL_GMA950, 6, 0, "igdumd32.dll", 7, 14, 10, 1504},
+ {DRIVER_INTEL_GMA3000, 6, 0, "igdumd32.dll", 7, 15, 10, 1666},
+ {DRIVER_INTEL_GMA950, 6, 1, "igdumd32.dll", 8, 14, 10, 1504},
+ {DRIVER_INTEL_GMA3000, 6, 1, "igdumd32.dll", 8, 15, 10, 1666},
+
/* Nvidia
* - Geforce6 and newer cards are supported by the current driver (197.x) on XP-Win7
* - GeforceFX support is up to 173.x on <= XP
@@ -1089,9 +1109,18 @@ static const struct gpu_description gpu_description_table[] =
{HW_VENDOR_ATI, CARD_ATI_RADEON_HD4700, "ATI Radeon HD 4700 Series", DRIVER_ATI_R600, },
{HW_VENDOR_ATI, CARD_ATI_RADEON_HD4800, "ATI Radeon HD 4800 Series", DRIVER_ATI_R600, },
{HW_VENDOR_ATI, CARD_ATI_RADEON_HD5700, "ATI Radeon HD 5700 Series", DRIVER_ATI_R600, },
- {HW_VENDOR_ATI, CARD_ATI_RADEON_HD5800, "ATI Radeon HD 5800 Series", DRIVER_ATI_R600, }
-
- /* TODO: Add information about legacy ATI hardware, Intel and other cards. */
+ {HW_VENDOR_ATI, CARD_ATI_RADEON_HD5800, "ATI Radeon HD 5800 Series", DRIVER_ATI_R600, },
+
+ /* Intel cards */
+ {HW_VENDOR_INTEL, CARD_INTEL_I830G, "Intel(R) 82830M Graphics Controller", DRIVER_INTEL_GMA800 },
+ {HW_VENDOR_INTEL, CARD_INTEL_I855G, "Intel(R) 82852/82855 GM/GME Graphics Controller", DRIVER_INTEL_GMA800 },
+ {HW_VENDOR_INTEL, CARD_INTEL_I865G, "Intel(R) 82865G Graphics Controller", DRIVER_INTEL_GMA800 },
+ {HW_VENDOR_INTEL, CARD_INTEL_I915G, "Intel(R) 82915G/GV/910GL Express Chipset Family", DRIVER_INTEL_GMA900 },
+ {HW_VENDOR_INTEL, CARD_INTEL_I915GM, "Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family", DRIVER_INTEL_GMA900 },
+ {HW_VENDOR_INTEL, CARD_INTEL_I945GM, "Mobile Intel(R) 945GM Express Chipset Family", DRIVER_INTEL_GMA950 },
+ {HW_VENDOR_INTEL, CARD_INTEL_X3100, "Mobile Intel(R) 965 Express Chipset Family", DRIVER_INTEL_GMA3000 }
+
+ /* TODO: Add information about legacy ATI hardware and other cards. */
};
static void init_driver_info(struct wined3d_driver_info *driver_info,
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 8bc2b16..6a6978b 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1232,6 +1232,10 @@ enum wined3d_display_driver
{
DRIVER_ATI_R300,
DRIVER_ATI_R600,
+ DRIVER_INTEL_GMA800,
+ DRIVER_INTEL_GMA900,
+ DRIVER_INTEL_GMA950,
+ DRIVER_INTEL_GMA3000,
DRIVER_NVIDIA_TNT,
DRIVER_NVIDIA_GEFORCE2MX,
DRIVER_NVIDIA_GEFORCEFX,
--
1.7.0.4
More information about the wine-patches
mailing list