On Fri, 15 Feb 2019 at 1:15 AM, Rob Herring <r...@kernel.org> wrote: > On Thu, Feb 14, 2019 at 9:27 AM Rob Clark <robdcl...@gmail.com> wrote: > > > > I mean, I guess it should be possible with an ugly non-upstreamable > > hack, maybe using a notifier_chain to call from the temp sensor driver > > to the hdmi bridge driver. I'm not really sure how that could be > > represented cleanly in dt, maybe Rob Herring or someone else on > > dri-devel has some ideas. > > > > (Background is to not enable the display until temp is within an > > acceptable range, and disable it if it goes out of range, to prevent > > hw damage I guess) > > The thermal framework already has support for temperature trip points > triggering "throttlers". I guess the display could be a throttling > device. Really, why wouldn't you just shutdown? Seems like a strange > usecase to keep running with the display going on and off based on > temperature. > We do not want to shutdown the system , since it’s temp threshold is up to -30 deg c , since display(adv7533) is upto -10 deg c, will control enable/disable based on temp range, otherwise life of the adv chip goes down and may not be operated later.
> > Rob > > > > > > > BR, > > -R > > > > On Thu, Feb 14, 2019 at 7:32 AM Vinay Simha B N <simha...@gmail.com> > wrote: > > > > > > rob, > > > > > > i am not getting much inputs in the freenode / dr-devel/irc forum. > > > > > > please suggest some inputs. > > > > > > In the interrupt handler of temperature sensor is it possible to > control the drm bridge/encoder(adv7511) status to enable and disable? > > > > > > any other better approach to handle this scenario? > > > > > > -- > > > regards, > > > vinaysimha > -- regards, vinaysimha
_______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel