Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2018 03:30:14 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r339633 - in stable/12: . sys/dev/drm2
Message-ID:  <201810230330.w9N3UEVg015739@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Oct 23 03:30:14 2018
New Revision: 339633
URL: https://svnweb.freebsd.org/changeset/base/339633

Log:
  MFC 339475: improve drm messaging in driver and UPDATING
  
  Approved by:	re@ (rgrimes)

Modified:
  stable/12/UPDATING
  stable/12/sys/dev/drm2/drm_os_freebsd.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/UPDATING
==============================================================================
--- stable/12/UPDATING	Tue Oct 23 01:56:52 2018	(r339632)
+++ stable/12/UPDATING	Tue Oct 23 03:30:14 2018	(r339633)
@@ -20,6 +20,31 @@ from older version of current across the gcc/clang cut
 	The stable/12 branch has been created in subversion from head
 	revision r339432.
 
+20181015:
+	Ports for the DRM modules have been simplified. Now, amd64 users should
+	just install the drm-kmod port. All others should install
+	drm-legacy-kmod.
+
+	Graphics hardware that's newer than about 2010 usually works with
+	drm-kmod.  For hardware older than 2013, however, some users will need
+	to use drm-legacy-kmod if drm-kmod doesn't work for them. Hardware older
+	than 2008 usually only works in drm-legacy-kmod. The graphics team can
+	only commit to hardware made since 2013 due to the complexity of the
+	market and difficulty to test all the older cards effectively. If you
+	have hardware supported by drm-kmod, you are strongly encouraged to use
+	that as you will get better support.
+
+	Other than KPI chasing, drm-legacy-kmod will not be updated. As outlined
+	elsewhere, the drm and drm2 modules will be eliminated from the src base
+	soon (with a limited exception for arm). Please update to the package asap
+	and report any issues to x11@freebsd.org.
+
+	Generally, anybody using the drm*-kmod packages should add
+	WITHOUT_DRM_MODULE=t and WITHOUT_DRM2_MODULE=t to avoid nasty
+	cross-threading surprises, especially with automatic driver
+	loading from X11 startup. These will become the defaults in 13-current
+	shortly.
+
 20181009:
 	OpenSSL has been updated to version 1.1.1.  This update included
 	additional various API changes througout the base system.  It is

Modified: stable/12/sys/dev/drm2/drm_os_freebsd.h
==============================================================================
--- stable/12/sys/dev/drm2/drm_os_freebsd.h	Tue Oct 23 01:56:52 2018	(r339632)
+++ stable/12/sys/dev/drm2/drm_os_freebsd.h	Tue Oct 23 03:30:14 2018	(r339633)
@@ -154,8 +154,8 @@ typedef void			irqreturn_t;
 	*(volatile u_int64_t *)(((vm_offset_t)(map)->handle) +		\
 	    (vm_offset_t)(offset)) = htole64(val)
 
-#ifdef __LP64__
-#define DRM_PORT "graphics/drm-stable-kmod"
+#ifdef amd64
+#define DRM_PORT "graphics/drm-kmod"
 #else
 #define DRM_PORT "graphics/drm-legacy-kmod"
 #endif



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