On Thu, Feb 14, 2019 at 9:27 AM Rob Clark <robdclark@xxxxxxxxx> 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. Rob > > > BR, > -R > > On Thu, Feb 14, 2019 at 7:32 AM Vinay Simha B N <simhavcs@xxxxxxxxx> 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 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel