From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268228AbUIKR1f (ORCPT ); Sat, 11 Sep 2004 13:27:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268218AbUIKR1e (ORCPT ); Sat, 11 Sep 2004 13:27:34 -0400 Received: from the-village.bc.nu ([81.2.110.252]:49587 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S268228AbUIKR0I (ORCPT ); Sat, 11 Sep 2004 13:26:08 -0400 Subject: Re: radeon-pre-2 From: Alan Cox To: Jon Smirl Cc: Dave Airlie , Michel =?ISO-8859-1?Q?D=E4nzer?= , Felix =?ISO-8859-1?Q?K=FChling?= , DRI Devel , lkml In-Reply-To: <9e47339104091109463694ffd3@mail.gmail.com> References: <9e47339104091010221f03ec06@mail.gmail.com> <1094835846.17932.11.camel@localhost.localdomain> <9e47339104091011402e8341d0@mail.gmail.com> <1094853588.18235.12.camel@localhost.localdomain> <1094873412.4838.49.camel@admin.tel.thor.asgaard.local> <1094913222.21157.61.camel@localhost.localdomain> <9e47339104091109463694ffd3@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1094919683.21082.121.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 11 Sep 2004 17:23:51 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sad, 2004-09-11 at 17:46, Jon Smirl wrote: > User 1's game queues up 20ms of 3D drawing commands. > Process swap to user 2. ->quiesce() is going to take 20ms. > User 2's timeslice expires and we go back to user 1. > User 1 queues up another 20ms. > > User 2's editor is never going to function. If you implement it wrongly sure. If you implemented it right then this occurs. User 1 queues 20 ms of 3D commands User 1 is pre-empted User 2 wants the 2D engine User 2 beings wait for 2D User 2 sleeps User 1 wakes User 1 beings wait for 3D but discovers a claim is in progress User 1 sleeps User 2 wakes, runs commands If you have DRI loaded then as you rightly say the obvious desired outcome is that the fb engine either turns acceleration off or switches to using the DRI layer. But this is a pretty obscure case, and one we can't even begin to support yet anyway.