* Re: drm dsi2hdmi bridge - temperature sensor [not found] <CAGWqDJ7Y9rxspeWBn3qky1+dqYaydu960FrFSoTpQf2-LmMjKg@mail.gmail.com> @ 2019-02-14 15:27 ` Rob Clark via dri-devel 2019-02-14 19:45 ` Rob Herring via dri-devel 0 siblings, 1 reply; 5+ messages in thread From: Rob Clark via dri-devel @ 2019-02-14 15:27 UTC (permalink / raw) To: Vinay Simha B N; +Cc: dri-devel 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) BR, -R On Thu, Feb 14, 2019 at 7:32 AM Vinay Simha B N <simhavcs@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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: drm dsi2hdmi bridge - temperature sensor 2019-02-14 15:27 ` drm dsi2hdmi bridge - temperature sensor Rob Clark via dri-devel @ 2019-02-14 19:45 ` Rob Herring via dri-devel 2019-02-14 19:52 ` Vinay Simha B N via dri-devel 2019-02-14 19:54 ` Sam Ravnborg 0 siblings, 2 replies; 5+ messages in thread From: Rob Herring via dri-devel @ 2019-02-14 19:45 UTC (permalink / raw) To: Rob Clark; +Cc: Vinay Simha B N, dri-devel On Thu, Feb 14, 2019 at 9:27 AM Rob Clark <robdclark@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. Rob > > > BR, > -R > > On Thu, Feb 14, 2019 at 7:32 AM Vinay Simha B N <simhavcs@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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: drm dsi2hdmi bridge - temperature sensor 2019-02-14 19:45 ` Rob Herring via dri-devel @ 2019-02-14 19:52 ` Vinay Simha B N via dri-devel 2019-02-14 19:54 ` Sam Ravnborg 1 sibling, 0 replies; 5+ messages in thread From: Vinay Simha B N via dri-devel @ 2019-02-14 19:52 UTC (permalink / raw) To: Rob Herring; +Cc: dri-devel [-- Attachment #1.1: Type: text/plain, Size: 1778 bytes --] On Fri, 15 Feb 2019 at 1:15 AM, Rob Herring <robh@kernel.org> wrote: > On Thu, Feb 14, 2019 at 9:27 AM Rob Clark <robdclark@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 <simhavcs@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 [-- Attachment #1.2: Type: text/html, Size: 2596 bytes --] [-- Attachment #2: Type: text/plain, Size: 159 bytes --] _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: drm dsi2hdmi bridge - temperature sensor 2019-02-14 19:45 ` Rob Herring via dri-devel 2019-02-14 19:52 ` Vinay Simha B N via dri-devel @ 2019-02-14 19:54 ` Sam Ravnborg 2019-02-19 13:54 ` Vinay Simha B N 1 sibling, 1 reply; 5+ messages in thread From: Sam Ravnborg @ 2019-02-14 19:54 UTC (permalink / raw) To: Rob Herring; +Cc: Vinay Simha B N, dri-devel Hi Rob. > > > > (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. (Jumping into the middle of a discussion here, and maybe I got it wrong) For the devices I work with a shutdown would be highly unexpected just because something insignificant like the display fails to work. The devices are used to control the climate for birds, sometimes in hot areas. We do not want the device to shut down and let emergency take over, due to a non-functional display. Sam _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: drm dsi2hdmi bridge - temperature sensor 2019-02-14 19:54 ` Sam Ravnborg @ 2019-02-19 13:54 ` Vinay Simha B N 0 siblings, 0 replies; 5+ messages in thread From: Vinay Simha B N @ 2019-02-19 13:54 UTC (permalink / raw) To: Rob Clark; +Cc: Sam Ravnborg, dri-devel [-- Attachment #1.1: Type: text/plain, Size: 1570 bytes --] rob, hpd works in kernel 5.0.0-rc6, i.e postboot if we connect hdmi display comes(apq8016). added the temperature alert_handler in adv7511_drv.c in adv7511_detect , i had set status = connector_status_disconnected; , since display should not come initially, but when irq calls schedule_work(&adv7511->hpd_work)/ adv7511_irq_process(adv7511, true); in temp_alert_handler , hdmi display does not comes [drm] Cannot find any crtc or sizes any suggestion on how to initially not switch on the hdmi display and later enable when irq from temp alert. On Fri, Feb 15, 2019 at 1:24 AM Sam Ravnborg <sam@ravnborg.org> wrote: > Hi Rob. > > > > > > > (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. > > (Jumping into the middle of a discussion here, and maybe I got it wrong) > > For the devices I work with a shutdown would be highly unexpected > just because something insignificant like the display fails to work. > The devices are used to control the climate for birds, sometimes in hot > areas. > We do not want the device to shut down and let emergency take over, > due to a non-functional display. > > Sam > -- regards, vinaysimha [-- Attachment #1.2: Type: text/html, Size: 2387 bytes --] [-- Attachment #2: Type: text/plain, Size: 159 bytes --] _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-02-19 13:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAGWqDJ7Y9rxspeWBn3qky1+dqYaydu960FrFSoTpQf2-LmMjKg@mail.gmail.com>
2019-02-14 15:27 ` drm dsi2hdmi bridge - temperature sensor Rob Clark via dri-devel
2019-02-14 19:45 ` Rob Herring via dri-devel
2019-02-14 19:52 ` Vinay Simha B N via dri-devel
2019-02-14 19:54 ` Sam Ravnborg
2019-02-19 13:54 ` Vinay Simha B N
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.