Re: radeon-pre-2

From: Jon Smirl
Date: Sat Sep 11 2004 - 13:10:50 EST


On Sat, 11 Sep 2004 14:05:54 -0400 (EDT), Vladimir Dergachev
<volodya@xxxxxxxxxxxxxx> 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@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/