Commit af1ef32b authored by Ankit Nautiyal's avatar Ankit Nautiyal Committed by Ramalingam C

lib: Use generic names for APIs that handle uevents

The functions for handling uevents are named with "_hotplug" as suffix
such as igt_watch_hotplug(). Earlier hotplug was the only uevent that
was requested to be detected, but in fact, these APIs are generic and
can be used for detecting other uevents too.

Currently we have tests like kms_lease, kms_content_protection using
the uevent handling infrastructure for detecting uevents other than

This patch renames the functions and replace the "_hotplug" suffix
with "_uevents".

v2: Rebase
v3: Added changes in lib igt_chamelium.c, that was missed earlier.
Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <>
Suggested-by: Ramalingam C's avatarRamalingam C <>
Suggested-by: default avatarHiler, Arkadiusz <>
Reviewed-by: Ramalingam C's avatarRamalingam C <>
Acked-by: default avatarArkadiusz Hiler <>
parent 66e2683a
Pipeline #167861 passed with stages
in 11 minutes and 38 seconds