diff options
author | Simon Ser <contact@emersion.fr> | 2022-08-01 13:38:02 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-09-05 12:59:53 +0200 |
commit | 981f09295687f856d5345e19c7084aca481c1395 (patch) | |
tree | a8ba36ef5a45b04eee3d073884a411ebe656fd36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e71a8ebbe086c3d80189726ef46bcf718cbe194d (diff) |
drm: hide unregistered connectors from GETCONNECTOR IOCTL
When registering a connector, the kernel sends a hotplug uevent in
drm_connector_register(). When unregistering a connector, drivers
are expected to send a uevent as well. However, user-space has no way
to figure out that the connector isn't registered anymore: it'll still
be reported in GETCONNECTOR IOCTLs.
The documentation for DRM_CONNECTOR_UNREGISTERED states:
> The connector […] has since been unregistered and removed from
> userspace, or the connector was unregistered before it had a chance
> to be exposed to userspace
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220801133754.461037-1-contact@emersion.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions