Re: drm bridge control from another driver

2019-02-21 Thread Vinay Simha B N
hi, i had added one more irq control for temperature control check in adv7511, if i call irq_proces as similar to hpd it does not work, initially if( adv7511->alert_status == connector_status_connected) no irq works. https://github.com/vinaysimha/kernel-msm/commit/8ee2b9104fa56765320d4846086d91b8

Re: drm bridge control from another driver

2019-02-20 Thread A H
Hi, Writing from non-standard mail composer, forgive formatting mistakes. On Tue, Feb 19, 2019 at 5:22 PM Vinay Simha B N wrote: > added the temperature alert irq handler in adv driver , in the irq > calling schedule_work(&adv7511->hpd_work); , initially in the > adv7511_detect , if we set stat

Re: drm bridge control from another driver

2019-02-19 Thread Vinay Simha B N
added the temperature alert irq handler in adv driver , in the irq calling schedule_work(&adv7511->hpd_work); , initially in the adv7511_detect , if we set status = connector_status_disconnected; later when irq handler calls the schedule work, hpd does not works. [ 55.052677] [drm] Cannot find an

Re: drm bridge control from another driver

2019-02-14 Thread Andrzej Hajda via dri-devel
On 13.02.2019 15:31, Vinay Simha B N wrote: > > > On Wed, Feb 13, 2019 at 7:44 PM Andrzej Hajda > wrote: > > On 13.02.2019 14:40, Vinay Simha B N wrote: > > Andrzej/Daniel, > > > > please suggest any input on the scenario for temperature control and >

Re: drm bridge control from another driver

2019-02-14 Thread Vinay Simha B N via dri-devel
On Wed, Feb 13, 2019 at 7:44 PM Andrzej Hajda wrote: > On 13.02.2019 14:40, Vinay Simha B N wrote: > > Andrzej/Daniel, > > > > please suggest any input on the scenario for temperature control and > > dsi bridge enable/disable. > > > > On Mon, Feb 11, 2019 at 2:41 PM Vinay Simha B N >

Re: drm bridge control from another driver

2019-02-14 Thread Vinay Simha B N via dri-devel
Andrzej/Daniel, please suggest any input on the scenario for temperature control and dsi bridge enable/disable. On Mon, Feb 11, 2019 at 2:41 PM Vinay Simha B N wrote: > dsi2hdmi(adv7511) chip operating temperature range is -10 degC to +85 > degC. We want to enable/disable the bridge only when t

Re: drm bridge control from another driver

2019-02-13 Thread Andrzej Hajda via dri-devel
On 13.02.2019 14:40, Vinay Simha B N wrote: > Andrzej/Daniel, > > please suggest any input on the scenario for temperature control and > dsi bridge enable/disable. > > On Mon, Feb 11, 2019 at 2:41 PM Vinay Simha B N > wrote: > > dsi2hdmi(adv7511) chip operating tempe

Re: drm bridge control from another driver

2019-02-12 Thread Vinay Simha B N
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/

Re: drm bridge control from another driver

2019-02-11 Thread Daniel Vetter
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 ena

Re: drm bridge control from another driver

2019-02-11 Thread Andrzej Hajda
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. > >

drm bridge control from another driver

2019-02-11 Thread Vinay Simha B N
hi, is it possible to control the drm bridge from another driver in irq handler(enable/disable the bridge)? is there a way to control the "dpms force off" and "dpms force on" in the interrupt handler? -- regards, vinaysimha ___ dri-devel mailing list