Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268248AbUIKSJf (ORCPT ); Sat, 11 Sep 2004 14:09:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268254AbUIKSJf (ORCPT ); Sat, 11 Sep 2004 14:09:35 -0400 Received: from rproxy.gmail.com ([64.233.170.204]:59165 "EHLO mproxy.gmail.com") by vger.kernel.org with ESMTP id S268248AbUIKSJd (ORCPT ); Sat, 11 Sep 2004 14:09:33 -0400 Message-ID: <9e4733910409111109c6d8419@mail.gmail.com> Date: Sat, 11 Sep 2004 14:09:32 -0400 From: Jon Smirl Reply-To: Jon Smirl To: Vladimir Dergachev Subject: Re: radeon-pre-2 Cc: Alan Cox , =?ISO-8859-1?Q?Michel_D=E4nzer?= , Dave Airlie , =?ISO-8859-1?Q?Felix_K=FChling?= , DRI Devel , lkml , Linus Torvalds In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1094913414.21157.65.camel@localhost.localdomain> <1094915671.21290.77.camel@localhost.localdomain> <1094919630.21082.116.camel@localhost.localdomain> <9e473391040911105942f52db6@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 28 On Sat, 11 Sep 2004 14:05:54 -0400 (EDT), Vladimir Dergachev wrote: > > All register writes would occur in the driver. There is nothing > > stopping the code that computes those register values from running in > > user space. > > > > A example mode setting IO would take: > > display buffer offset > > width, height, stride, etc - for fbcon to use > > register values to set the mode > > > > Mode setting needs to be serialized. It may be better to do the > > serialization before the hotplug event, in that case the mode setting > > IOCTL would be implicitly serialized and not need a separate lock. > > Just to clear up things - do you plan to retain the knowledge of last mode > set in the DRM driver ? Yes, you have to do that for fbcon and suspend/restore to work. -- Jon Smirl jonsmirl@gmail.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/