dsi2hdmi(adv7511) chip operating temperature range is -10 degC to +85 degC.
We want to enable/disable the bridge only when temperature range is
inbetween these range.

We have temperature control chip to read the temp, tLow an tHigh can be
set. whenever interrupt(alert) triggers we want to enablel/disable the
bridge.

Any suggestion what is the better way to handle this scenario?

regards,
vinaysimha

On Mon, Feb 11, 2019 at 2:10 PM Daniel Vetter <dan...@ffwll.ch> wrote:

> 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
>


-- 
regards,
vinaysimha
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to