From owner-svn-src-all@freebsd.org  Thu Feb  1 10:26:03 2018
Return-Path: <owner-svn-src-all@freebsd.org>
Delivered-To: svn-src-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id F39ECEDC65C;
 Thu,  1 Feb 2018 10:26:02 +0000 (UTC)
 (envelope-from jbeich@freebsd.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2610:1c1:1:6074::16:84])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "freefall.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9BDA882CB3;
 Thu,  1 Feb 2018 10:26:02 +0000 (UTC)
 (envelope-from jbeich@freebsd.org)
Received: by freefall.freebsd.org (Postfix, from userid 1354)
 id 8D8FF1C885; Thu,  1 Feb 2018 10:26:02 +0000 (UTC)
From: Jan Beich <jbeich@FreeBSD.org>
To: Hans Petter Selasky <hselasky@FreeBSD.org>
Cc: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: Re: svn commit: r328436 - head/sys/compat/linuxkpi/common/src
References: <201801261049.w0QAn2Xt089656@repo.freebsd.org>
Date: Thu, 01 Feb 2018 11:25:52 +0100
In-Reply-To: <201801261049.w0QAn2Xt089656@repo.freebsd.org> (Hans Petter
 Selasky's message of "Fri, 26 Jan 2018 10:49:02 +0000 (UTC)")
Message-ID: <h8r1-m2fj-wny@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all/>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Feb 2018 10:26:03 -0000

Hans Petter Selasky <hselasky@FreeBSD.org> writes:

> Author: hselasky
> Date: Fri Jan 26 10:49:02 2018
> New Revision: 328436
> URL: https://svnweb.freebsd.org/changeset/base/328436
>
> Log:
>   Decouple Linux files from the belonging character device right after open
>   in the LinuxKPI. This is done by calling finit() just before returning a magic
>   value of ENXIO in the "linux_dev_fdopen" function.

This breaks DRI3 (uses DMABUF) on drm-next-kmod (Linux 4.9 atm) e.g.,

$ LIBGL_DRI3_ENABLE=1 LIBGL_DEBUG=verbose MESA_DEBUG=context glxgears
libGL: screen 0 does not appear to be DRI3 capable
libGL error: Connection closed during DRI3 initialization failure
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
      after 22 requests (22 known processed) with 0 events remaining.