From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michel =?ISO-8859-1?Q?D=E4nzer?= Date: Tue, 16 Mar 2010 14:00:32 +0000 Subject: Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video Message-Id: <1268748032.4176.56.camel@thor.local> List-Id: References: <1268302426.7444.117.camel@thor.local> <21d7e9971003121251v4bef7e96v67f3d98aa9ab384a@mail.gmail.com> <21d7e9971003131301r723f3311p3553ea8a1a86bf0a@mail.gmail.com> <1268566880.9302.65.camel@thor.local> <1268747186.4176.38.camel@thor.local> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: James Simmons Cc: Linux Fbdev development list , Paulius Zaleckas , Michal Suchanek , Alex Deucher , DRI development list On Tue, 2010-03-16 at 13:56 +0000, James Simmons wrote:=20 > > > The fb_ops can only be called from fbcon or the fbdev userland interf= ace.=20 > > > The fbcon calls should only happen when the VC is in KD_TEXT mode. No= w=20 > > > with the DRM backend we have the advantage of creating a mapping sepe= rate=20 > > > from the console mapping. A fb_open/fb_close could be used to cleanin= g up=20 > > > the userland mmap as well as handle the console pinning. We can suppl= y=20 > > > your own fb_mmap hook. > >=20 > > Again, the issue is not userspace but that fb_ops hooks can be called > > from interrupt context etc. >=20 > This should not happen. The VT layer is protected from calling in the=20 > interrupt context. TNor does fbcon call any fb_ops methods from a irq. E.g. printk? --=20 Earthling Michel D=C3=A4nzer | http://www.vmware.c= om Libre software enthusiast | Debian, X and DRI developer