[igt-dev] [PATCH i-g-t] lib/kms_chamelium: Wait for the sink to reconnect after an FSM DPMS-off
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Mon Jun 1 09:25:06 UTC 2020
On Fri, May 29, 2020 at 10:58:50PM +0300, Imre Deak wrote:
> After Chamelium does an FSM signaling by deasserting its HPD, in
> response to which the test's FSM handler disables the output with a
> DPMS-off, we have to make sure that Chamelium has reasserted its HPD
> before we re-enable the output with DPMS-on (for instance to avoid link
> training errors, or enable the output in the wrong TypeC mode). To
> ensure this wait for the connector state to become asserted.
>
> On TypeC connectors with an enabled mode the IOM firmware will signal a
> connected state (via a connect hotplug interrupt delivered to the
> driver) in a deferred way only after the mode is disabled. So wait for
> the connected state after DPMS-off.
>
> Reported-and-tested-by: Kunal Joshi <kunal1.joshi at intel.com>
> Cc: Hiler Arkadiusz <arkadiusz.hiler at intel.com>
> Cc: Kunal Joshi <kunal1.joshi at intel.com>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
and merged, thanks!
More information about the igt-dev
mailing list