Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 02:23:36 +0000 (UTC)
From:      Johannes M Dieterich <jmd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487274 - head/graphics/drm-fbsd12.0-kmod
Message-ID:  <201812120223.wBC2NaiV060871@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmd
Date: Wed Dec 12 02:23:35 2018
New Revision: 487274
URL: https://svnweb.freebsd.org/changeset/ports/487274

Log:
  graphics/drm-fbsd12.0: Update to 4.16 DRM
  
  Despite the improvements going from 4.11 to 4.16, it also
  brings experimental support for i386 and powerpc64.
  
  Switch to dedicated upstream 12.0 branch
  
  Reviewed by:	zeising (x11)
  Differential Revision:	https://reviews.freebsd.org/D18508

Modified:
  head/graphics/drm-fbsd12.0-kmod/Makefile
  head/graphics/drm-fbsd12.0-kmod/distinfo
  head/graphics/drm-fbsd12.0-kmod/pkg-plist

Modified: head/graphics/drm-fbsd12.0-kmod/Makefile
==============================================================================
--- head/graphics/drm-fbsd12.0-kmod/Makefile	Wed Dec 12 02:13:56 2018	(r487273)
+++ head/graphics/drm-fbsd12.0-kmod/Makefile	Wed Dec 12 02:23:35 2018	(r487274)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	drm-fbsd12.0-kmod
-PORTVERSION=	4.11.g20181027
-PORTREVISION=	1
+PORTVERSION=	4.16.g20181210
 CATEGORIES=	graphics
 
 MAINTAINER=	jmd@FreeBSD.org
@@ -12,8 +11,8 @@ COMMENT=	DRM modules for the linuxkpi-based KMS compon
 LICENSE=	BSD2CLAUSE MIT GPLv2
 LICENSE_COMB=	multi
 
-ONLY_FOR_ARCHS=	amd64
-ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64
+ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64 and i386
 
 RUN_DEPENDS=	gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
 
@@ -21,12 +20,12 @@ CONFLICTS_INSTALL=	drm-fbsd11.2-kmod drm-current-kmod 
 
 OPTIONS_DEFINE=	DEBUG
 
-USES=		kmod uidfix
+USES=		kmod uidfix compiler:c++11-lang
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	FreeBSDDesktop
 GH_PROJECT=	kms-drm
-GH_TAGNAME=	b545cc4
+GH_TAGNAME=	ad84bf0
 
 .include <bsd.port.options.mk>
 
@@ -35,6 +34,28 @@ IGNORE=		not supported on older CURRENT, no kernel sup
 .endif
 .if ${OPSYS} != FreeBSD
 IGNORE=		not supported on anything but FreeBSD (missing linuxkpi functionality)
+.endif
+
+.if ${ARCH} == "amd64"
+PLIST_SUB+=     AMDGPU=""
+PLIST_SUB+=     AMDKFD=""
+PLIST_SUB+=     I915=""
+PLIST_SUB+=     VMWGFX=""
+.elif ${ARCH} == "i386"
+PLIST_SUB+=     AMDGPU="@comment "
+PLIST_SUB+=     AMDKFD="@comment "
+PLIST_SUB+=     I915=""
+PLIST_SUB+=     VMWGFX=""
+.elif ${ARCH} == "powerpc64"
+PLIST_SUB+=     AMDGPU=""
+PLIST_SUB+=     AMDKFD="@comment "
+PLIST_SUB+=     I915="@comment "
+PLIST_SUB+=     VMWGFX="@comment "
+.else
+PLIST_SUB+=     AMDGPU="@comment "
+PLIST_SUB+=     AMDKFD="@comment "
+PLIST_SUB+=     I915="@comment "
+PLIST_SUB+=     VMWGFX="@comment "
 .endif
 
 .include <bsd.port.mk>

Modified: head/graphics/drm-fbsd12.0-kmod/distinfo
==============================================================================
--- head/graphics/drm-fbsd12.0-kmod/distinfo	Wed Dec 12 02:13:56 2018	(r487273)
+++ head/graphics/drm-fbsd12.0-kmod/distinfo	Wed Dec 12 02:23:35 2018	(r487274)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540633673
-SHA256 (FreeBSDDesktop-kms-drm-4.11.g20181027-b545cc4_GH0.tar.gz) = cb896fd506425c5d6d5aadb47b30bc2f0ae35127d634e6cf3e72e6fb2bab0963
-SIZE (FreeBSDDesktop-kms-drm-4.11.g20181027-b545cc4_GH0.tar.gz) = 7357687
+TIMESTAMP = 1544500798
+SHA256 (FreeBSDDesktop-kms-drm-4.16.g20181210-ad84bf0_GH0.tar.gz) = 7062a654449d8e2e90f51fe49dd3fc09eb90cec7c31b9d078b0e0e4d9c5efd5e
+SIZE (FreeBSDDesktop-kms-drm-4.16.g20181210-ad84bf0_GH0.tar.gz) = 13088843

Modified: head/graphics/drm-fbsd12.0-kmod/pkg-plist
==============================================================================
--- head/graphics/drm-fbsd12.0-kmod/pkg-plist	Wed Dec 12 02:13:56 2018	(r487273)
+++ head/graphics/drm-fbsd12.0-kmod/pkg-plist	Wed Dec 12 02:23:35 2018	(r487274)
@@ -1,7 +1,8 @@
-/%%KMODDIR%%/amdgpu.ko
-/%%KMODDIR%%/amdkfd.ko
+%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
+%%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
 /%%KMODDIR%%/debugfs.ko
 /%%KMODDIR%%/drm.ko
-/%%KMODDIR%%/i915kms.ko
+%%I915%%/%%KMODDIR%%/i915kms.ko
 /%%KMODDIR%%/linuxkpi_gplv2.ko
 /%%KMODDIR%%/radeonkms.ko
+%%VMWGFX%%/%%KMODDIR%%/vmwgfx.ko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812120223.wBC2NaiV060871>