Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 20:28:16 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502165 - head/graphics/drm-devel-kmod
Message-ID:  <201905202028.x4KKSGNQ050350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Mon May 20 20:28:16 2019
New Revision: 502165
URL: https://svnweb.freebsd.org/changeset/ports/502165

Log:
  add graphics/drm-devel-kmod
  
  Add graphics/drm-devel-kmod, development version of the lkpi based DRM
  graphics drivers.  This version is experimental, and for recent CURRENT
  only.
  
  This version currently corresponds to Linux 5.0 DRM drivers, and should give
  better support for more recent Intel and AMD GPUs.
  
  Please note that this port is copied from drm-current-kmod, rather than
  resurrected from the old drm-devel-kmod port, that's because
  drm-current-kmod was created by copying the old drm-devel-kmod when that
  went to a more stable version.
  
  Big thank you to everyone who has worked on this, and johalun in particuar,
  who has done most of the heavy lifting.
  
  Approved by:	jmd (maintainer, implicit)
  MFH:		2019Q2 (implicit, drm-drivers blanket)
  Sponsored by:	B3 Init

Added:
  head/graphics/drm-devel-kmod/
     - copied from r502128, head/graphics/drm-current-kmod/
Modified:
  head/graphics/drm-devel-kmod/Makefile
  head/graphics/drm-devel-kmod/distinfo
  head/graphics/drm-devel-kmod/pkg-descr
  head/graphics/drm-devel-kmod/pkg-message

Modified: head/graphics/drm-devel-kmod/Makefile
==============================================================================
--- head/graphics/drm-current-kmod/Makefile	Mon May 20 17:59:17 2019	(r502128)
+++ head/graphics/drm-devel-kmod/Makefile	Mon May 20 20:28:16 2019	(r502165)
@@ -1,22 +1,25 @@
 # Created by: Johannes Dieterich <jmd@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	drm-current-kmod
-PORTVERSION=	4.16.g20190519
+PORTNAME=	drm-devel-kmod
+PORTVERSION=	5.0.g20190520
 CATEGORIES=	graphics kld
 
 MAINTAINER=	jmd@FreeBSD.org
-COMMENT=	DRM modules for the linuxkpi-based KMS components
+COMMENT=	DRM modules for the linuxkpi-based KMS components (development version)
 
 LICENSE=	BSD2CLAUSE MIT GPLv2
 LICENSE_COMB=	multi
 
 ONLY_FOR_ARCHS=	amd64 i386 powerpc64
-ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64 and i386
+ONLY_FOR_ARCHS_REASON=	the new KMS components are only supported on amd64, i386 and powerpc64
 
 RUN_DEPENDS=	gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod
 
-CONFLICTS_INSTALL=	drm-fbsd11.2-kmod drm-fbsd12.0-kmod drm-legacy-kmod
+CONFLICTS_INSTALL=	drm-current-kmod \
+			drm-fbsd11.2-kmod \
+			drm-fbsd12.0-kmod \
+			drm-legacy-kmod
 
 OPTIONS_DEFINE=	DEBUG
 
@@ -25,11 +28,11 @@ USES=		kmod uidfix compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	FreeBSDDesktop
 GH_PROJECT=	kms-drm
-GH_TAGNAME=	b890994
+GH_TAGNAME=	4d4b2ba
 
 .include <bsd.port.options.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200067
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300029
 IGNORE=		not supported on older CURRENT, no kernel support
 .endif
 .if ${OPSYS} != FreeBSD

Modified: head/graphics/drm-devel-kmod/distinfo
==============================================================================
--- head/graphics/drm-current-kmod/distinfo	Mon May 20 17:59:17 2019	(r502128)
+++ head/graphics/drm-devel-kmod/distinfo	Mon May 20 20:28:16 2019	(r502165)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1558292907
-SHA256 (FreeBSDDesktop-kms-drm-4.16.g20190519-b890994_GH0.tar.gz) = 3292e6e795df47d077784e0e84aa7d774ad030e78da0a3913889ae5f4c8cda29
-SIZE (FreeBSDDesktop-kms-drm-4.16.g20190519-b890994_GH0.tar.gz) = 13089654
+TIMESTAMP = 1558375618
+SHA256 (FreeBSDDesktop-kms-drm-5.0.g20190520-4d4b2ba_GH0.tar.gz) = 5a2fad2bf1cecdcad30e7d58b5e9f5fc500b8f51a8966ffe35066246d47ff5fe
+SIZE (FreeBSDDesktop-kms-drm-5.0.g20190520-4d4b2ba_GH0.tar.gz) = 14590222

Modified: head/graphics/drm-devel-kmod/pkg-descr
==============================================================================
--- head/graphics/drm-current-kmod/pkg-descr	Mon May 20 17:59:17 2019	(r502128)
+++ head/graphics/drm-devel-kmod/pkg-descr	Mon May 20 20:28:16 2019	(r502165)
@@ -1,6 +1,6 @@
 amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components.
-Currently corresponding to Linux 4.16 DRM.
-This version is for FreeBSD CURRENT.
+Currently corresponding to Linux 5.0 DRM.
+This version is the development version and only works on FreeBSD CURRENT.
 amdgpu and radeonkms are known to fail with EFI boot.
 
 WWW: https://github.com/FreeBSDDesktop/kms-drm

Modified: head/graphics/drm-devel-kmod/pkg-message
==============================================================================
--- head/graphics/drm-current-kmod/pkg-message	Mon May 20 17:59:17 2019	(r502128)
+++ head/graphics/drm-devel-kmod/pkg-message	Mon May 20 20:28:16 2019	(r502165)
@@ -1,9 +1,13 @@
-The experimental drm-current-kmod port can be enabled for amdgpu (for AMD
-GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
-APUs starting with HD3000 / Sandy Bridge) through kld_list in
-/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
-some positive reports if EFI boot is NOT enabled (similar to amdgpu).
+The experimental drm-devel-kmod port can be enabled for amdgpu (for AMD
+GPUs starting with the HD7000 series / Tahiti), radeonkms for older AMD GPUs
+or i915kms (for Intel APUs starting with HD3000 / Sandy Bridge, possibly even
+older) through kld_list in /etc/rc.conf.
 
+For amdgpu and radeonkms, there have been reports of issues when using UEFI
+firmware boot.  You might need to disable the console by adding
+hw.syscons.disable=1  to /boot/loader.conf . Please note that this will
+disable the console until the graphics driver is loaded.
+
 For amdgpu: kld_list="amdgpu"
 For Intel: kld_list="/boot/modules/i915kms.ko"
 For radeonkms: kld_list="/boot/modules/radeonkms.ko"
@@ -11,5 +15,5 @@ For radeonkms: kld_list="/boot/modules/radeonkms.ko"
 Please ensure that all users requiring graphics are members of the
 "video" group.
 
-Older generations are supported by the legacy kms modules (radeonkms / 
-i915kms) in base or by installing graphics/drm-legacy-kmod.
+Older generations are supported by the legacy kms modules by installing
+graphics/drm-legacy-kmod.



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