From owner-freebsd-current@FreeBSD.ORG  Mon Dec 30 21:17:51 2013
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8299DBBE;
 Mon, 30 Dec 2013 21:17:51 +0000 (UTC)
Received: from mail-qe0-x22c.google.com (mail-qe0-x22c.google.com
 [IPv6:2607:f8b0:400d:c02::22c])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 2CCB91168;
 Mon, 30 Dec 2013 21:17:51 +0000 (UTC)
Received: by mail-qe0-f44.google.com with SMTP id nd7so11870663qeb.17
 for <multiple recipients>; Mon, 30 Dec 2013 13:17:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc:content-type:content-transfer-encoding;
 bh=G7+C7YsvjEFoT/QUbNhnSIUbpEcm+526RMSQSBC83Hs=;
 b=SZdJP27ig1NXd1eo7X0VUABhEb2nN51P0LQNAGPM1GYDHuytBXn1C9BxT6gzQ6yrim
 8dv82WYqmWqrFSDzhiFGctLOzJZVBTwd+4xnuPht++QuoIp39TSP4CPi17y4uOz1BPPw
 tdy9uohnVJBedPZi6vCneW0Hgvs1nKjdP2GXCWawUONg7jih7QbeLOWg5/DohaHUiqH+
 H9ijtgfy3OAKrBDjA471QypDwoUGOQwNYfowh390Ofb/jtvqj5Swu9n0JTwlvf0ofx76
 xxBjatjkZxoNCRFJAtmKQQycR3QuqeadmR9uF9H+Pm3MccG57JPjgpP/P02JkRt+EHe0
 sLEQ==
MIME-Version: 1.0
X-Received: by 10.224.13.141 with SMTP id c13mr104116223qaa.76.1388438270423; 
 Mon, 30 Dec 2013 13:17:50 -0800 (PST)
Sender: adrian.chadd@gmail.com
Received: by 10.224.52.8 with HTTP; Mon, 30 Dec 2013 13:17:50 -0800 (PST)
In-Reply-To: <52B14384.5060102@gmx.com>
References: <527F95BE.7080908@gmx.com>
 <Pine.GSO.4.64.1311101135590.9459@sea.ntplx.net>
 <527FC05D.8080703@gmx.com> <5283E123.5000305@FreeBSD.org>
 <20131114113846.4dcb2037@kalimero.tijl.coosemans.org>
 <52858067.2060200@gmx.com> <52AEAD7A.1040205@gmx.com>
 <52B0C004.9010702@FreeBSD.org> <52B14384.5060102@gmx.com>
Date: Mon, 30 Dec 2013 13:17:50 -0800
X-Google-Sender-Auth: 6mpkJss8F6P1KBxZFV4XEVnpJ4A
Message-ID: <CAJ-VmokrhMB5MGhPKFw70rFbSCy0EtD0ueaUJQs5OhYR0j=wbg@mail.gmail.com>
Subject: Re: new Xorg (KMS, etc.) for Radeon 9600
From: Adrian Chadd <adrian@freebsd.org>
To: dt71@gmx.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: freebsd-current <freebsd-current@freebsd.org>,
 =?ISO-8859-1?Q?Jean=2DS=E9bastien_P=E9dron?= <dumbbell@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Dec 2013 21:17:51 -0000

On 17 December 2013 22:41,  <dt71@gmx.com> wrote:
> Jean-S=E9bastien P=E9dron wrote, On 12/17/2013 22:20:
>
>> On 16.12.2013 08:36, dt71@gmx.com wrote:
>>>
>>> Still nobody wants to apply Robert Noland's DRM patch?
>>
>>
>> What problem(s) does this patch fix?
>
>
> It fixes non-deterministic lockups when the (old, drm1) r300 drivers are
> used.
>
> According to John Baldwin [1]: "The drm code is doing a copyin() while
> holding a mutex (which is not allowed)." The latest version of the patch
> (also the one I used for years) is at [2], linked from [3].

Hm. Well, can we add some lock assertions to the dri code to panic
whenever this is done?



-a