OSDN Git Service

intel: annotate the intel genx helpers as public
[android-x86/external-libdrm.git] / intel / intel_chipset.c
index 5aa4a2f..b36d7f0 100644 (file)
@@ -35,6 +35,8 @@ static const struct pci_device {
        uint16_t gen;
 } pciids[] = {
        /* Keep ids sorted by gen; latest gen first */
+       INTEL_TGL_12_IDS(12),
+       INTEL_EHL_IDS(11),
        INTEL_ICL_11_IDS(11),
        INTEL_CNL_IDS(10),
        INTEL_CFL_IDS(9),
@@ -44,7 +46,7 @@ static const struct pci_device {
        INTEL_SKL_IDS(9),
 };
 
-drm_private bool intel_is_genx(unsigned int devid, int gen)
+drm_public bool intel_is_genx(unsigned int devid, int gen)
 {
        const struct pci_device *p,
                  *pend = pciids + sizeof(pciids) / sizeof(pciids[0]);
@@ -66,7 +68,7 @@ drm_private bool intel_is_genx(unsigned int devid, int gen)
        return false;
 }
 
-drm_private bool intel_get_genx(unsigned int devid, int *gen)
+drm_public bool intel_get_genx(unsigned int devid, int *gen)
 {
        const struct pci_device *p,
                  *pend = pciids + sizeof(pciids) / sizeof(pciids[0]);