Re: [PATCH v2 0/5] drm/bridge: ps8640: Make sure all needed is powered to get the EDID

From: Sam Ravnborg
Date: Wed Aug 26 2020 - 13:20:20 EST


Hi Enric

On Wed, Aug 26, 2020 at 10:15:21AM +0200, Enric Balletbo i Serra wrote:
> The first patch was initially part of the series [1] but for some reason
> was not picked when the series were merged, so I included in this series
> because it is needed to make the others to work properly.
>
> The same happened for the second patch, was part of series [1] but not
> merged.
>
> The third patch and next are part of the original series and are to rework
> the power handling to get the EDID. Basically, we need to make sure all the
> needed is powered to be able to get the EDID. Before, we saw that getting
> the EDID failed as explained in the third patch.
>
> [1] https://lkml.org/lkml/2020/6/15/1208
>
> Changes in v2:
> - Included the patch `drm/bridge_connector: Set default status connected for eDP connectors`
> - Included the patch `drm/bridge: ps8640: Get the EDID from eDP control`
> - Use drm_bridge_chain_pre_enable/post_disable() helpers (Sam Ravnborg)
>
> Enric Balletbo i Serra (5):
> drm/bridge_connector: Set default status connected for eDP connectors
> drm/bridge: ps8640: Get the EDID from eDP control
> drm/bridge: ps8640: Return an error for incorrect attach flags
> drm/bridge: ps8640: Print an error if VDO control fails
The first 4 patches are applied to drm-misc-next.

> drm/bridge: ps8640: Rework power state handling
Let give this a copuple of days on the mailing list to see what we
conclude.

Sam
>
> drivers/gpu/drm/bridge/parade-ps8640.c | 89 ++++++++++++++++++++++----
> drivers/gpu/drm/drm_bridge_connector.c | 1 +
> 2 files changed, 79 insertions(+), 11 deletions(-)
>
> --
> 2.28.0