wined3d: Add Polaris GPUs and their driver.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Grazvydas Ignotas 2016-11-14 00:10:00 +02:00 committed by Alexandre Julliard
parent 0f4891ff53
commit c63e3261f3
2 changed files with 10 additions and 1 deletions

View File

@ -45,6 +45,7 @@ enum wined3d_display_driver
DRIVER_AMD_R100, DRIVER_AMD_R100,
DRIVER_AMD_R300, DRIVER_AMD_R300,
DRIVER_AMD_R600, DRIVER_AMD_R600,
DRIVER_AMD_RX,
DRIVER_INTEL_GMA800, DRIVER_INTEL_GMA800,
DRIVER_INTEL_GMA900, DRIVER_INTEL_GMA900,
DRIVER_INTEL_GMA950, DRIVER_INTEL_GMA950,
@ -1160,6 +1161,7 @@ static const struct driver_version_information driver_version_table[] =
{DRIVER_AMD_R600, DRIVER_MODEL_NT5X, "ati2dvag.dll", 17, 10, 1280}, {DRIVER_AMD_R600, DRIVER_MODEL_NT5X, "ati2dvag.dll", 17, 10, 1280},
{DRIVER_AMD_R300, DRIVER_MODEL_NT6X, "atiumdag.dll", 14, 10, 741 }, {DRIVER_AMD_R300, DRIVER_MODEL_NT6X, "atiumdag.dll", 14, 10, 741 },
{DRIVER_AMD_R600, DRIVER_MODEL_NT6X, "atiumdag.dll", 17, 10, 1280}, {DRIVER_AMD_R600, DRIVER_MODEL_NT6X, "atiumdag.dll", 17, 10, 1280},
{DRIVER_AMD_RX, DRIVER_MODEL_NT6X, "aticfx32.dll", 17, 10, 1474},
/* Intel /* Intel
* The drivers are unified but not all versions support all GPUs. At some point the 2k/xp * The drivers are unified but not all versions support all GPUs. At some point the 2k/xp
@ -1367,7 +1369,9 @@ static const struct gpu_description gpu_description_table[] =
{HW_VENDOR_AMD, CARD_AMD_RADEON_HD8770, "AMD Radeon HD 8770", DRIVER_AMD_R600, 2048}, {HW_VENDOR_AMD, CARD_AMD_RADEON_HD8770, "AMD Radeon HD 8770", DRIVER_AMD_R600, 2048},
{HW_VENDOR_AMD, CARD_AMD_RADEON_R3, "AMD Radeon HD 8400 / R3 Series", DRIVER_AMD_R600, 2048}, {HW_VENDOR_AMD, CARD_AMD_RADEON_R3, "AMD Radeon HD 8400 / R3 Series", DRIVER_AMD_R600, 2048},
{HW_VENDOR_AMD, CARD_AMD_RADEON_R7, "AMD Radeon(TM) R7 Graphics", DRIVER_AMD_R600, 2048}, {HW_VENDOR_AMD, CARD_AMD_RADEON_R7, "AMD Radeon(TM) R7 Graphics", DRIVER_AMD_R600, 2048},
{HW_VENDOR_AMD, CARD_AMD_RADEON_R9, "AMD Radeon R9 290", DRIVER_AMD_R600, 4096}, {HW_VENDOR_AMD, CARD_AMD_RADEON_R9, "AMD Radeon R9 290", DRIVER_AMD_RX, 4096},
{HW_VENDOR_AMD, CARD_AMD_RADEON_RX_460, "Radeon(TM) RX 460 Graphics", DRIVER_AMD_RX, 4096},
{HW_VENDOR_AMD, CARD_AMD_RADEON_RX_480, "Radeon (TM) RX 480 Graphics", DRIVER_AMD_RX, 4096},
/* VMware */ /* VMware */
{HW_VENDOR_VMWARE, CARD_VMWARE_SVGA3D, "VMware SVGA 3D (Microsoft Corporation - WDDM)", DRIVER_VMWARE, 1024}, {HW_VENDOR_VMWARE, CARD_VMWARE_SVGA3D, "VMware SVGA 3D (Microsoft Corporation - WDDM)", DRIVER_VMWARE, 1024},
@ -2109,6 +2113,9 @@ cards_intel[] =
* These are returned but not handled: RC410, RV380. */ * These are returned but not handled: RC410, RV380. */
cards_amd_mesa[] = cards_amd_mesa[] =
{ {
/* Polaris 10/11 */
{"POLARIS10", CARD_AMD_RADEON_RX_480},
{"POLARIS11", CARD_AMD_RADEON_RX_460},
/* Sea Islands */ /* Sea Islands */
{"HAWAII", CARD_AMD_RADEON_R9 }, {"HAWAII", CARD_AMD_RADEON_R9 },
{"KAVERI", CARD_AMD_RADEON_R7 }, {"KAVERI", CARD_AMD_RADEON_R7 },

View File

@ -1843,6 +1843,8 @@ enum wined3d_pci_device
CARD_AMD_RADEON_R3 = 0x9830, CARD_AMD_RADEON_R3 = 0x9830,
CARD_AMD_RADEON_R7 = 0x130f, CARD_AMD_RADEON_R7 = 0x130f,
CARD_AMD_RADEON_R9 = 0x67b1, CARD_AMD_RADEON_R9 = 0x67b1,
CARD_AMD_RADEON_RX_460 = 0x67ef,
CARD_AMD_RADEON_RX_480 = 0x67df,
CARD_NVIDIA_RIVA_128 = 0x0018, CARD_NVIDIA_RIVA_128 = 0x0018,
CARD_NVIDIA_RIVA_TNT = 0x0020, CARD_NVIDIA_RIVA_TNT = 0x0020,