From nobody Sun May 01 17:24:28 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EFE951AB9548; Sun, 1 May 2022 17:24:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KrtPn0S5vz4qX0; Sun, 1 May 2022 17:24:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CnpqiUpKt1rlO76ani1MOwUPHfx5E3OHioiHqt8Xt/w=; b=iuvW1iCjk+jAGMJRl0A1WPpQZf4KWMu1Sy9GuIihQK0L8dFrje7iJ5MFeqmoudk6N3pYT+ u4aAjIuoy7g+7/7EC8+tJhfPbtT3iRhKfY8xa2ARwwAk8+6z+Fcn6+jZQV3ckrUzHwpXmO CZy1KlowkAec5UrfSYReixFUgf8qAu2ovlNgvTQ4oisAehHFGDfL0bh8Jss7Fs7ThOdv1a kk9Ik4FdoupsAVxLI95s3xqL+Wp0naOvZbbMBo1Od1MYFmCj0LcH2k1CabyAN+aL8pg0mO 4TOsTJEVdCtFTFXoyw1mJixv8zuXJ0aAhWabN8zXydp/clqkrY2ufaUmOroYEg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D72C719957; Sun, 1 May 2022 17:24:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 241HOSCN061509; Sun, 1 May 2022 17:24:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 241HOSSe061508; Sun, 1 May 2022 17:24:28 GMT (envelope-from git) Date: Sun, 1 May 2022 17:24:28 GMT Message-Id: <202205011724.241HOSSe061508@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 5d2db30fd29d - main - graphics/gpu-firmware-gpu-intel: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d2db30fd29d65c6c4914408c0cfa3d556ae772f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CnpqiUpKt1rlO76ani1MOwUPHfx5E3OHioiHqt8Xt/w=; b=C3p+EIDh6FTwK1Gq6VPjoTPkJytXaVLzXxLBH391RTR4+m01fKW8Zw/ZfFW6dol6j4ESXF 1fglRJskEZS3qlohTviw+4/JX8FDdIMsQ9zANadfOrfa9MhmETCRotQdg3jqWxWVg2gyP5 ObJ9c6sDTjwQXT0iiVIsSXmxdn+d0j3NHNckoGNPu1+SCl7um3qM4mZliazjbOFOoYVNHy +qPa8YMX/a+hh9db+zBZK04D2d5eyYzZ7hnsmsqIgAHRItHeMKKMP7eYy8jinOoFncekW5 p5Fd6iTeJWwFnIjd4i31u/+4AqkfI7qp3dwyazEmrlblbrin2zuIlg59bFPr8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651425869; a=rsa-sha256; cv=none; b=gMTRqW6bZFMSnJMPPppBGCVASUqdtC4U3+HlobS5mDW+s8YbOzgH3Bl3siET2qb/fBFyeS UNo/c8/TyviKYVUiUtDflXBzWEdS6VYYxYsv8BJoZbVIUfNS1NRX0d3YecTvrGSf4Wzz+x 9wmerCRpVJviP9Ye+lcaird7Qi6z9lEoFsw0D9igmexPbaqQM2Qiw962xc1HME9JD7SutQ Q6DG9oVSMvPHekwaReLStI7iAhqrkFa+5asL7a9p+j06+m9Y74b5DkSk9/6m7JsuMDVVVb YQNc8z49p9/2nM75NAw7IY65f0xexLZUwrfBf8jH1S6nfwBSd+1RqczvqS8AGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d2db30fd29d65c6c4914408c0cfa3d556ae772f commit 5d2db30fd29d65c6c4914408c0cfa3d556ae772f Author: Emmanuel Vadot AuthorDate: 2021-10-14 13:09:18 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-01 17:23:26 +0000 graphics/gpu-firmware-gpu-intel: Add new port This is a port with the firmware for all and only Intel GPUs. Each generation is a flavor so one can just install the needed firmware. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/Makefile | 1 + graphics/gpu-firmware-intel-kmod/Makefile | 44 ++++++++++++++++++++++++++++++ graphics/gpu-firmware-intel-kmod/distinfo | 3 ++ graphics/gpu-firmware-intel-kmod/pkg-descr | 5 ++++ graphics/gpu-firmware-intel-kmod/pkg-plist | 34 +++++++++++++++++++++++ 5 files changed, 87 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index c696b3170dfa..63f7a5837ef5 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -296,6 +296,7 @@ SUBDIR += gpicview SUBDIR += gpsmanshp SUBDIR += gpu-firmware-kmod + SUBDIR += gpu-firmware-intel-kmod SUBDIR += gpxsee SUBDIR += gracula SUBDIR += grads diff --git a/graphics/gpu-firmware-intel-kmod/Makefile b/graphics/gpu-firmware-intel-kmod/Makefile new file mode 100644 index 000000000000..49758b7d1016 --- /dev/null +++ b/graphics/gpu-firmware-intel-kmod/Makefile @@ -0,0 +1,44 @@ +# Created by: Emmanuel Vadot + +PORTNAME= gpu-firmware-intel-kmod +PORTVERSION= 20211014 +CATEGORIES= graphics + +MAINTAINER= x11@FreeBSD.org +COMMENT= Firmware modules for ${FLAVOR} Intel GPUs + +LICENSE= INTEL +LICENSE_NAME= Intel firmware license (i915) +LICENSE_FILE= ${WRKSRC}/LICENSE.i915 +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= Intel GPUs are only available on x86 + +PKGNAMESUFFIX= -${FLAVOR:C/_/-/g} +FLAVORS= skylake \ + broxton \ + kabylake \ + geminilake \ + coffeelake \ + icelake \ + elkhartlake \ + tigerlake +FLAVOR?= skylake + +USES= kmod uidfix + +USE_GITHUB= yes +GH_ACCOUNT= freebsd +GH_PROJECT= drm-kmod-firmware +GH_TAGNAME= 20211014_1 + +MAKE_ENV= KMODS="i915kmsfw" +MAKE_ENV+= I915KMODS="${FLAVOR}" + +.include + +PLIST_SUB+= ${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@} +PLIST_SUB+= ${FLAVOR:tu}="" + +.include diff --git a/graphics/gpu-firmware-intel-kmod/distinfo b/graphics/gpu-firmware-intel-kmod/distinfo new file mode 100644 index 000000000000..ca5604496e14 --- /dev/null +++ b/graphics/gpu-firmware-intel-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634226398 +SHA256 (freebsd-drm-kmod-firmware-20211014-20211014_1_GH0.tar.gz) = cf39652b616579f6461d56af21d6827f666a75c5e3193a8fb69747bb49d4cdad +SIZE (freebsd-drm-kmod-firmware-20211014-20211014_1_GH0.tar.gz) = 19953773 diff --git a/graphics/gpu-firmware-intel-kmod/pkg-descr b/graphics/gpu-firmware-intel-kmod/pkg-descr new file mode 100644 index 000000000000..26af2d0e0b0c --- /dev/null +++ b/graphics/gpu-firmware-intel-kmod/pkg-descr @@ -0,0 +1,5 @@ +Firmware modules for the drm-kmod drivers. + +Firmware files for Intel GPUs supported by the i915kms driver. + +WWW: https://github.com/freebsd/drm-kmod-firmware diff --git a/graphics/gpu-firmware-intel-kmod/pkg-plist b/graphics/gpu-firmware-intel-kmod/pkg-plist new file mode 100644 index 000000000000..619855e699dd --- /dev/null +++ b/graphics/gpu-firmware-intel-kmod/pkg-plist @@ -0,0 +1,34 @@ +%%SKYLAKE%%/%%KMODDIR%%/i915_skl_dmc_ver1_27_bin.ko +%%SKYLAKE%%/%%KMODDIR%%/i915_skl_guc_33_0_0_bin.ko +%%SKYLAKE%%/%%KMODDIR%%/i915_skl_guc_ver9_33_bin.ko +%%SKYLAKE%%/%%KMODDIR%%/i915_skl_huc_2_0_0_bin.ko +%%SKYLAKE%%/%%KMODDIR%%/i915_skl_huc_ver01_07_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_dmc_ver1_07_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_guc_33_0_0_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_guc_ver9_29_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_huc_2_0_0_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_huc_ver01_07_bin.ko +%%BROXTON%%/%%KMODDIR%%/i915_bxt_huc_ver01_8_bin.ko +%%KABYLAKE%%/%%KMODDIR%%/i915_kbl_dmc_ver1_04_bin.ko +%%KABYLAKE%%/%%KMODDIR%%/i915_kbl_guc_33_0_0_bin.ko +%%KABYLAKE%%/%%KMODDIR%%/i915_kbl_guc_ver9_39_bin.ko +%%KABYLAKE%%/%%KMODDIR%%/i915_kbl_huc_4_0_0_bin.ko +%%KABYLAKE%%/%%KMODDIR%%/i915_kbl_huc_ver02_00_bin.ko +%%GEMINILAKE%%/%%KMODDIR%%/i915_glk_dmc_ver1_04_bin.ko +%%GEMINILAKE%%/%%KMODDIR%%/i915_glk_guc_33_0_0_bin.ko +%%GEMINILAKE%%/%%KMODDIR%%/i915_glk_huc_4_0_0_bin.ko +%%GEMINILAKE%%/%%KMODDIR%%/i915_glk_huc_ver03_01_bin.ko +%%COFFEELAKE%%/%%KMODDIR%%/i915_cnl_dmc_ver1_06_bin.ko +%%COFFEELAKE%%/%%KMODDIR%%/i915_cnl_dmc_ver1_07_bin.ko +%%COFFEELAKE%%/%%KMODDIR%%/i915_cml_guc_33_0_0_bin.ko +%%COFFEELAKE%%/%%KMODDIR%%/i915_cml_huc_4_0_0_bin.ko +%%ICELAKE%%/%%KMODDIR%%/i915_icl_dmc_ver1_07_bin.ko +%%ICELAKE%%/%%KMODDIR%%/i915_icl_dmc_ver1_09_bin.ko +%%ICELAKE%%/%%KMODDIR%%/i915_icl_guc_33_0_0_bin.ko +%%ICELAKE%%/%%KMODDIR%%/i915_icl_huc_9_0_0_bin.ko +%%ICELAKE%%/%%KMODDIR%%/i915_icl_huc_ver8_4_bin.ko +%%ELKHARTLAKE%%/%%KMODDIR%%/i915_ehl_guc_33_0_4_bin.ko +%%ELKHARTLAKE%%/%%KMODDIR%%/i915_ehl_huc_9_0_0_bin.ko +%%TIGERLAKE%%/%%KMODDIR%%/i915_tgl_dmc_ver2_04_bin.ko +%%TIGERLAKE%%/%%KMODDIR%%/i915_tgl_guc_35_2_0_bin.ko +%%TIGERLAKE%%/%%KMODDIR%%/i915_tgl_huc_7_0_3_bin.ko