Re: [Linux-fbdev-devel] drm_fb_helper: Impossible to change video mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-03-16 at 13:56 +0000, James Simmons wrote: 
> > > The fb_ops can only be called from fbcon or the fbdev userland interface. 
> > > The fbcon calls should only happen when the VC is in KD_TEXT mode. Now 
> > > with the DRM backend we have the advantage of creating a mapping seperate 
> > > from the console mapping. A fb_open/fb_close could be used to cleaning up 
> > > the userland mmap as well as handle the console pinning. We can supply 
> > > your own fb_mmap hook.
> > 
> > Again, the issue is not userspace but that fb_ops hooks can be called
> > from interrupt context etc.
> 
> This should not happen. The VT layer is protected from calling in the 
> interrupt context. TNor does fbcon call any fb_ops methods from a irq.

E.g. printk?


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux