mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Add GK208 and TU106; rename a few cards
reference: https://pci-ids.ucw.cz/read/PC/10de/0e0c
This commit is contained in:
parent
00626a97e8
commit
3c5f92fd08
@ -101,6 +101,7 @@ HDA_CONTROLLER_LIST_ENTRY gHdaControllerList[] = {
|
||||
{ HDA_CONTROLLER_GP104, L"NVIDIA GP104 HD Audio Controller" },
|
||||
{ HDA_CONTROLLER_GP106, L"NVIDIA GP106 HD Audio Controller" },
|
||||
{ HDA_CONTROLLER_TU102, L"NVIDIA TU102 HD Audio Controller" },
|
||||
{ HDA_CONTROLLER_TU106, L"NVIDIA TU106 HD Audio Controller" },
|
||||
{ HDA_CONTROLLER_NVIDIAXXXX, L"NVIDIA HD Audio Controller" },
|
||||
|
||||
// End.
|
||||
|
@ -196,6 +196,7 @@
|
||||
#define HDA_CONTROLLER_GP104 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10F0)
|
||||
#define HDA_CONTROLLER_GP106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10F1)
|
||||
#define HDA_CONTROLLER_TU102 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10F7)
|
||||
#define HDA_CONTROLLER_TU106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10F9)
|
||||
#define HDA_CONTROLLER_NVIDIAXXXX HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0xFFFF)
|
||||
|
||||
#define HDA_NVIDIA_MCP51 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x026c)
|
||||
@ -216,27 +217,29 @@
|
||||
#define HDA_NVIDIA_MCP79_2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0ac1)
|
||||
#define HDA_NVIDIA_MCP79_3 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0ac2)
|
||||
#define HDA_NVIDIA_MCP79_4 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0ac3)
|
||||
#define HDA_NVIDIA_0BE2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be2)
|
||||
#define HDA_NVIDIA_0BE3 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be3) // [GeForce 210] HDAcodec
|
||||
#define HDA_NVIDIA_0BE4 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be4) // [GeForge GT 240] HDACodec 10de000d (0d00de10)
|
||||
#define HDA_NVIDIA_GT100 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be5) // [GeForge GTX 470] HDACodec 10de0010 (1000de10)
|
||||
#define HDA_NVIDIA_GT106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be9)
|
||||
#define HDA_NVIDIA_GT108 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0bea) // HDACodec
|
||||
#define HDA_NVIDIA_GT104 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0beb)
|
||||
#define HDA_NVIDIA_GT116 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0bee)
|
||||
#define HDA_NVIDIA_GT216 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be2)
|
||||
#define HDA_NVIDIA_GT218 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be3) // [GeForce 210] HDAcodec
|
||||
#define HDA_NVIDIA_GT215 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be4) // [GeForge GT 240] HDACodec 10de000d (0d00de10)
|
||||
#define HDA_NVIDIA_GF100 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be5) // [GeForge GTX 470] HDACodec 10de0010 (1000de10)
|
||||
#define HDA_NVIDIA_GF106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0be9)
|
||||
#define HDA_NVIDIA_GF108 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0bea) // HDACodec
|
||||
#define HDA_NVIDIA_GF104 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0beb)
|
||||
#define HDA_NVIDIA_GF116 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0bee)
|
||||
#define HDA_NVIDIA_MCP89_1 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0d94)
|
||||
#define HDA_NVIDIA_MCP89_2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0d95)
|
||||
#define HDA_NVIDIA_MCP89_3 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0d96)
|
||||
#define HDA_NVIDIA_MCP89_4 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0d97)
|
||||
#define HDA_NVIDIA_GF119 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e08)
|
||||
#define HDA_NVIDIA_GF110_1 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e09)
|
||||
#define HDA_NVIDIA_GF110_2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e0c) // HDACodec de101600 (10de0016), Controller Binary de100c0e x2
|
||||
#define HDA_NVIDIA_GF110 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e09)
|
||||
#define HDA_NVIDIA_GK104 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e0a)
|
||||
#define HDA_NVIDIA_GK106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e0b)
|
||||
#define HDA_NVIDIA_GF114 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e0c) // HDACodec de101600 (10de0016), Controller Binary de100c0e x2
|
||||
#define HDA_NVIDIA_GK208 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e0f)
|
||||
#define HDA_NVIDIA_GK110 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e1a)
|
||||
#define HDA_NVIDIA_GK107 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0e1b) // HDACodec de104200 (10de0042)
|
||||
#define HDA_NVIDIA_GP104_2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10f0) // GeForce GTX 1070
|
||||
#define HDA_NVIDIA_GM204_2 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0fbb) // GeForce GTX 970
|
||||
#define HDA_NVIDIA_GM204 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x0fbb) // GeForce GTX 970
|
||||
#define HDA_NVIDIA_GP104 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10f0) // GeForce GTX 1070
|
||||
#define HDA_NVIDIA_TU106 HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0x10f9)
|
||||
#define HDA_NVIDIA_ALL HDA_CONTROLLER_CONSTRUCT(NVIDIA, 0xffff)
|
||||
|
||||
/* ATI */
|
||||
|
@ -7081,7 +7081,7 @@ GetDevices ()
|
||||
gfx->Mmio = (UINT8*)(UINTN)(Bar0 & ~0x0f);
|
||||
//DBG ("BAR: 0x%p\n", Mmio);
|
||||
// get card type
|
||||
gfx->Family = (REG32(gfx->Mmio, 0) >> 20) & 0x3ff;
|
||||
gfx->Family = (REG32(gfx->Mmio, 0) >> 20) & 0x1ff;
|
||||
UFamily = gfx->Family & 0x1F0;
|
||||
if ((UFamily == NV_ARCH_KEPLER1) ||
|
||||
(UFamily == NV_ARCH_KEPLER2) ||
|
||||
|
@ -111,23 +111,25 @@ static hda_controller_devices know_hda_controller[] = {
|
||||
{ HDA_NVIDIA_MCP89_2, "MCP89" /*, 0, 0 */ },
|
||||
{ HDA_NVIDIA_MCP89_3, "MCP89" /*, 0, 0 */ },
|
||||
{ HDA_NVIDIA_MCP89_4, "MCP89" /*, 0, 0 */ },
|
||||
{ HDA_NVIDIA_0BE2, "(0x0be2)" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_0BE3, "(0x0be3)" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_0BE4, "(0x0be4)" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT100, "GT100" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT104, "GT104" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT106, "GT106" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT108, "GT108" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT116, "GT116" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT216, "GT216" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT218, "GT218" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GT215, "GT215" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF100, "GF100" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF104, "GF104" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF106, "GF106" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF108, "GF108" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF116, "GF116" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF119, "GF119" /*, 0, 0 */ },
|
||||
{ HDA_NVIDIA_GF110_1, "GF110" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF110_2, "GF110" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF110, "GF110" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GF114, "GF114" /*, 0, HDAC_QUIRK_MSI */ },
|
||||
{ HDA_NVIDIA_GK110, "GK110" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GK106, "GK106" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GK107, "GK107" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GK104, "GK104" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GP104_2, "Pascal GP104-200" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GM204_2, "Maxwell GP204-200" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GK208, "GK208" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GP104, "GP104" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_GM204, "GM204" /*, 0, ? */ },
|
||||
{ HDA_NVIDIA_TU106, "TU106" /*, 0, ? */ },
|
||||
|
||||
//1002 Advanced Micro Devices [AMD] nee ATI Technologies Inc
|
||||
{ HDA_ATI_SB450, "SB4x0" /*, 0, 0 */ },
|
||||
@ -572,13 +574,13 @@ CHAR8 *get_hda_controller_name(UINT16 controller_device_id, UINT16 controller_ve
|
||||
switch (controller_vendor_id)
|
||||
{
|
||||
case VEN_ATI_ID:
|
||||
name_format = "ATI %a HDA Controller (HDMi)"; break;
|
||||
name_format = "ATI %a HDA Controller (HDMi/DP)"; break;
|
||||
|
||||
case VEN_INTEL_ID:
|
||||
name_format = "Intel %a HDA Controller"; break;
|
||||
|
||||
case VEN_NVIDIA_ID:
|
||||
name_format = "Nvidia %a HDA Controller (HDMi)"; break;
|
||||
name_format = "Nvidia %a HDA Controller (HDMi/DP)"; break;
|
||||
|
||||
case VEN_RDC_ID:
|
||||
name_format = "RDC %a HDA Controller"; break;
|
||||
|
Loading…
Reference in New Issue
Block a user