[igt-dev] [PATCH 2/2] tests/chamelium/kms_chamelium_hpd: issue disabling modeset when for very plug/unplug cycle

Karthik B S karthik.b.s at intel.com
Thu Mar 23 14:32:19 UTC 2023


On 3/15/2023 3:36 PM, Kunal Joshi wrote:
> It is known issue that we don't get hotplug with enabled
> mode on TypeC connector, issue a disabling modeset for
> every plug/unplug cycle
>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   tests/chamelium/kms_chamelium_hpd.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tests/chamelium/kms_chamelium_hpd.c b/tests/chamelium/kms_chamelium_hpd.c
> index d9718d76..2b17ce29 100644
> --- a/tests/chamelium/kms_chamelium_hpd.c
> +++ b/tests/chamelium/kms_chamelium_hpd.c
> @@ -190,6 +190,7 @@ static void test_hotplug_for_each_pipe(chamelium_data_t *data,
>   						   DRM_MODE_DISCONNECTED);
>   
>   	for_each_pipe(&data->display, pipe) {
> +		igt_modeset_disable_all_outputs(&data->display);
>   		igt_flush_uevents(mon);
>   		/* Check if we get a sysfs hotplug event */
>   		chamelium_plug(data->chamelium, port);


More information about the igt-dev mailing list