[v0.24] Added generic KBL UHD Graphics. Should fix #19

This commit is contained in:
Dr-Noob
2022-07-13 13:26:40 +02:00
parent 4d948eb80a
commit 8c62e9ebaf
3 changed files with 5 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ enum {
CHIP_HD_P630,
CHIP_IRISP_640,
CHIP_IRISP_650,
CHIP_UHD_KBL_GT1,
CHIP_UHD_KBL_GT2,
// Gen11
CHIP_UHD_G1,
CHIP_IRISP_G4,

View File

@@ -14,6 +14,7 @@
/*
* https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units
* https://github.com/mesa3d/mesa/blob/main/include/pci_ids/iris_pci_ids.h
* https://raw.githubusercontent.com/smxi/inxi/master/inxi
*/
GPUCHIP get_chip_from_pci_intel(struct pci* pci) {
CHECK_PCI_START

View File

@@ -150,6 +150,8 @@ void map_chip_to_uarch_intel(struct uarch* arch) {
CHECK_UARCH(arch, CHIP_UHD_605, "UHD Graphics 605", UARCH_GEN9_5, GT1_5, 14)
CHECK_UARCH(arch, CHIP_UHD_620, "UHD Graphics 620", UARCH_GEN9_5, GT2, 14)
CHECK_UARCH(arch, CHIP_UHD_630, "UHD Graphics 630", UARCH_GEN9_5, GT2, 14)
CHECK_UARCH(arch, CHIP_UHD_KBL_GT1, "UHD Graphics", UARCH_GEN9_5, GT1, 14)
CHECK_UARCH(arch, CHIP_UHD_KBL_GT2, "UHD Graphics", UARCH_GEN9_5, GT2, 14)
CHECK_UARCH(arch, CHIP_HD_610, "HD Graphics 610", UARCH_GEN9_5, GT1, 14)
CHECK_UARCH(arch, CHIP_HD_615, "HD Graphics 615", UARCH_GEN9_5, GT2, 14)
CHECK_UARCH(arch, CHIP_HD_630, "HD Graphics 630", UARCH_GEN9_5, GT2, 14)