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 <s...@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
_______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel