Re: Correct libva driver for Intel Comet Lake

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 23 Jun 2021 09:06:55 +0200
Kevin Oberman <rkoberman_at_gmail.com> writes:

> The Intel page on libva-media-driver states that it supports all i915
> processors broadwell or newer. Comet Lake is 10th Gen, so much newer than
> Broadwell, but it also lists supported processors and Comet Lake is not on
> the list.

What PCI ID does it have? For 0x9B?? use libva-intel-media-driver.

> Any ideas on whether I should install it? If Comet Lake is not supported,
> will it fall back to the libva-intel-hybrid-driver?

libva-intel-hybrid-driver can only be used via libva-intel-driver which
doesn't support 0x9B?? but maybe try the following:

diff --git a/multimedia/libva-intel-driver/Makefile b/multimedia/libva-intel-driver/Makefile
index e29648b6f2dd..edba9fbbfe3c 100644
--- a/multimedia/libva-intel-driver/Makefile
+++ b/multimedia/libva-intel-driver/Makefile
_at__at_ -1,5 +1,6 _at__at_
 PORTNAME=	libva-intel-driver
 DISTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich_at_FreeBSD.org
diff --git a/multimedia/libva-intel-driver/files/patch-cml-pciids b/multimedia/libva-intel-driver/files/patch-cml-pciids
new file mode 100644
index 000000000000..b5dc3784f458
--- /dev/null
+++ b/multimedia/libva-intel-driver/files/patch-cml-pciids
_at__at_ -0,0 +1,30 _at__at_
+--- src/i965_pciids.h.orig	2020-06-01 01:17:45 UTC
++++ src/i965_pciids.h
+_at__at_ -207,6 +207,27 _at__at_ CHIPSET(0x3E98, cfl, cfl,       "Intel(R) Coffee Lake"
+ CHIPSET(0x3E99, cfl, cfl,       "Intel(R) Coffee Lake")
+ CHIPSET(0x3E9A, cfl, cfl,       "Intel(R) Coffee Lake")
+ CHIPSET(0x3E9B, cfl, cfl,       "Intel(R) Coffee Lake")
++CHIPSET(0x9B21, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BAA, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BAB, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BAC, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BA0, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BA5, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BA8, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BA4, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BA2, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9B41, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BCA, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BCB, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BCC, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC0, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC5, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC8, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC4, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC2, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BC6, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BE6, cfl, cfl,       "Intel(R) Comet Lake")
++CHIPSET(0x9BF6, cfl, cfl,       "Intel(R) Comet Lake")
+ CHIPSET(0x5A40, cnl, cnl,       "Intel(R) CannonLake")
+ CHIPSET(0x5A41, cnl, cnl,       "Intel(R) CannonLake")
+ CHIPSET(0x5A42, cnl, cnl,       "Intel(R) CannonLake")
Received on Wed Jun 23 2021 - 07:06:55 UTC

Original text of this message