Index: head/graphics/drm-devel-kmod/Makefile =================================================================== --- head/graphics/drm-devel-kmod/Makefile (nonexistent) +++ head/graphics/drm-devel-kmod/Makefile (revision 502165) @@ -0,0 +1,64 @@ +# Created by: Johannes Dieterich +# $FreeBSD$ + +PORTNAME= drm-devel-kmod +PORTVERSION= 5.0.g20190520 +CATEGORIES= graphics kld + +MAINTAINER= jmd@FreeBSD.org +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, i386 and powerpc64 + +RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod + +CONFLICTS_INSTALL= drm-current-kmod \ + drm-fbsd11.2-kmod \ + drm-fbsd12.0-kmod \ + drm-legacy-kmod + +OPTIONS_DEFINE= DEBUG + +USES= kmod uidfix compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= FreeBSDDesktop +GH_PROJECT= kms-drm +GH_TAGNAME= 4d4b2ba + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300029 +IGNORE= not supported on older CURRENT, no kernel support +.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 Property changes on: head/graphics/drm-devel-kmod/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/drm-devel-kmod/distinfo =================================================================== --- head/graphics/drm-devel-kmod/distinfo (nonexistent) +++ head/graphics/drm-devel-kmod/distinfo (revision 502165) @@ -0,0 +1,3 @@ +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 Property changes on: head/graphics/drm-devel-kmod/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/drm-devel-kmod/pkg-descr =================================================================== --- head/graphics/drm-devel-kmod/pkg-descr (nonexistent) +++ head/graphics/drm-devel-kmod/pkg-descr (revision 502165) @@ -0,0 +1,6 @@ +amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. +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 Property changes on: head/graphics/drm-devel-kmod/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/drm-devel-kmod/pkg-message =================================================================== --- head/graphics/drm-devel-kmod/pkg-message (nonexistent) +++ head/graphics/drm-devel-kmod/pkg-message (revision 502165) @@ -0,0 +1,19 @@ +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" + +Please ensure that all users requiring graphics are members of the +"video" group. + +Older generations are supported by the legacy kms modules by installing +graphics/drm-legacy-kmod. Property changes on: head/graphics/drm-devel-kmod/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/drm-devel-kmod/pkg-plist =================================================================== --- head/graphics/drm-devel-kmod/pkg-plist (nonexistent) +++ head/graphics/drm-devel-kmod/pkg-plist (revision 502165) @@ -0,0 +1,8 @@ +%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko +%%AMDKFD%%/%%KMODDIR%%/amdkfd.ko +/%%KMODDIR%%/drm.ko +%%I915%%/%%KMODDIR%%/i915kms.ko +/%%KMODDIR%%/linuxkpi_gplv2.ko +/%%KMODDIR%%/radeonkms.ko +/%%KMODDIR%%/ttm.ko +%%VMWGFX%%/%%KMODDIR%%/vmwgfx.ko Property changes on: head/graphics/drm-devel-kmod/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property