Re: [PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-28 Thread Andrzej Hajda
On 27.05.2019 17:11, Tomi Valkeinen wrote: > On 21/05/2019 17:18, Andrzej Hajda wrote: > >>> DisplayPort spec talks about doing the display-props reading and EDID >>> reading when >>> handling HPD. >>> >>> I think it would be best to change the code so that we read display props >>> and EDID in H

Re: [PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-27 Thread Tomi Valkeinen
On 21/05/2019 17:18, Andrzej Hajda wrote: DisplayPort spec talks about doing the display-props reading and EDID reading when handling HPD. I think it would be best to change the code so that we read display props and EDID in HPD, but so that we also can read them later (when needed, probably

Re: [PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-21 Thread Andrzej Hajda
On 21.05.2019 13:34, Tomi Valkeinen wrote: > On 21/05/2019 10:07, Andrzej Hajda wrote: > >>> @@ -1214,19 +1234,43 @@ static int tc_connector_get_modes(struct >>> drm_connector *connector) >>> return count; >>> } >>> >>> -static void tc_connector_set_polling(struct tc_data *tc, >>> -

Re: [PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-21 Thread Tomi Valkeinen
On 21/05/2019 10:07, Andrzej Hajda wrote: @@ -1214,19 +1234,43 @@ static int tc_connector_get_modes(struct drm_connector *connector) return count; } -static void tc_connector_set_polling(struct tc_data *tc, -struct drm_connector *connector) -{ -

Re: [PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-21 Thread Andrzej Hajda
On 03.05.2019 14:29, Tomi Valkeinen wrote: > Add support for interrupt and hotplug handling. Both are optional. > > Signed-off-by: Tomi Valkeinen > --- > drivers/gpu/drm/bridge/tc358767.c | 166 ++ > 1 file changed, 148 insertions(+), 18 deletions(-) > > diff --git a/d

[PATCHv3 22/23] drm/bridge: tc358767: add IRQ and HPD support

2019-05-03 Thread Tomi Valkeinen
Add support for interrupt and hotplug handling. Both are optional. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/tc358767.c | 166 ++ 1 file changed, 148 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridg