On Mon, Feb 11, 2019 at 09:32:54AM +0100, Andrzej Hajda wrote:
> On 11.02.2019 07:52, Vinay Simha B N wrote:
> > hi,
> >
> > is it possible to control the drm bridge from another driver in irq
> > handler(enable/disable the bridge)?
> 
> 
> If you mean 'in irq context' the answer is no, usually enable/disable
> callbacks can sleep, so cannot be called from atomic context.
> 
> 
> >
> > is there a way to control the "dpms force off" and "dpms force on" in
> > the interrupt handler?
> 
> 
> Could you elaborate more on both subjects.

Yeah, please explain what you want to use this for. dpms on/off is
controlled by userspace, the kernel should not change that state behind
usersapce's back. If this is for some manuel refresh display, then that's
a bit a different story ofc, but for that you don't want to do a real dpms
force off/on.
-Daniel
> 
> 
> Regards
> 
> Andrzej
> 
> 
> >
> > -- 
> > regards,
> > vinaysimha
> >
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to