aboutsummaryrefslogtreecommitdiffstats
path: root/intel/intel_bufmgr_gem.c
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2018-04-25 17:09:37 -0700
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2018-05-01 14:30:25 -0700
commit1ac3ecde2f2c9afd7110389eccc6860daa6627ca (patch)
tree4b9fecd9e2ec19e49925f1aa35547bfc8ac4cbfd /intel/intel_bufmgr_gem.c
parentbc9c789073c82c645210c80b6e63117444dce252 (diff)
downloadexternal_libdrm-1ac3ecde2f2c9afd7110389eccc6860daa6627ca.tar.gz
external_libdrm-1ac3ecde2f2c9afd7110389eccc6860daa6627ca.tar.bz2
external_libdrm-1ac3ecde2f2c9afd7110389eccc6860daa6627ca.zip
intel: add support for ICL 11
Add the PCI IDs and the basic code to enable ICL. This is the current PCI ID list in our documentation. Kernel commit: d55cb4fa2cf0 ("drm/i915/icl: Add the ICL PCI IDs") v2: Michel provided a fix to IS_9XX that was broken by rebase bot. v3: Fix double definition of PCI IDs, update IDs according to bspec and keep them in the same order and rebase (Lucas) Cc: Michel Thierry <michel.thierry@intel.com> Reviewed-by: Michel Thierry <michel.thierry@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'intel/intel_bufmgr_gem.c')
-rw-r--r--intel/intel_bufmgr_gem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 5c47a46f..8c3a4b20 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -3660,6 +3660,8 @@ drm_intel_bufmgr_gem_init(int fd, int batch_size)
bufmgr_gem->gen = 9;
else if (IS_GEN10(bufmgr_gem->pci_device))
bufmgr_gem->gen = 10;
+ else if (IS_GEN11(bufmgr_gem->pci_device))
+ bufmgr_gem->gen = 11;
else {
free(bufmgr_gem);
bufmgr_gem = NULL;