From owner-freebsd-current@FreeBSD.ORG Wed Feb 18 21:20:49 2015 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE27BE42; Wed, 18 Feb 2015 21:20:49 +0000 (UTC) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "alchemy.franken.de", Issuer "alchemy.franken.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A4CCD58; Wed, 18 Feb 2015 21:20:48 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.9/8.14.9/ALCHEMY.FRANKEN.DE) with ESMTP id t1ILKlDW039527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Feb 2015 22:20:47 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.9/8.14.9/Submit) id t1ILKluv039526; Wed, 18 Feb 2015 22:20:47 +0100 (CET) (envelope-from marius) Date: Wed, 18 Feb 2015 22:20:47 +0100 From: Marius Strobl To: freebsd-x11@FreeBSD.org Subject: Re: [Call for testers] DRM device-independent code update to Linux 3.8 Message-ID: <20150218212046.GA37911@alchemy.franken.de> References: <54E3D2A0.2090903@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54E3D2A0.2090903@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (alchemy.franken.de [0.0.0.0]); Wed, 18 Feb 2015 22:20:47 +0100 (CET) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 21:20:49 -0000 On Wed, Feb 18, 2015 at 12:45:36AM +0100, Jean-Sébastien Pédron wrote: > Hi! > > An update to the DRM subsystem, not including the drivers, is ready for > wider testing! > > The patch against HEAD is here: > https://people.freebsd.org/~dumbbell/graphics/drm-update-38.f.patch > Have you looked into using a MTX_SPIN lock where Linux actually employs a DRM_SPINTYPE one? That should allow to use a filter instead of an ithread handler, solving a great number of problems with pre-loading of DRM drivers and allow them to be statically compiled into the kernel as - unlike ihtreads - filters work right from the moment they are set up during attach. In turn, that would make the lack of a VESA driver for vt(4) less painful and likely even forgivable, as resolutions higher than VGA could be used way earlier, etc. Marius